-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
3,209 additions
and
488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,47 +2,50 @@ name: CI | |
|
||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
build-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Setup Redis | ||
# You may pin to the exact commit or the version. | ||
# uses: zhulik/redis-action@765216a54a1114f109ce90a1de4775080be16ea5 | ||
uses: zhulik/[email protected] | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
# Version of Redis to use | ||
redis version: latest # optional, default is latest | ||
# Number of Redis databases | ||
number of databases: 16 # optional, default is 16 | ||
- name: Start MySQL | ||
# You may pin to the exact commit or the version. | ||
# uses: samin/mysql-action@4dd1210f1d6b9c2468adec44066ef4a97b8f07f3 | ||
uses: samin/[email protected] | ||
with: | ||
# The port of host | ||
host port: 3306 # optional, default is 3306 | ||
# The port of container | ||
container port: 3306 # optional, default is 3306 | ||
# --character-set-server - The character set of MySQL server | ||
character set server: utf8mb4 # optional, default is utf8mb4 | ||
# --collation-server - The character collation of MySQL server | ||
collation server: utf8mb4_general_ci # optional, default is utf8mb4_general_ci | ||
# Version of MySQL to use | ||
mysql version: 5.7 # optional, default is latest | ||
# MYSQL_ROOT_PASSWORD - root superuser password | ||
mysql root password: root # optional, default is | ||
# MYSQL_DATABASE - name for the default database that is created | ||
mysql database: root # optional, default is | ||
# MYSQL_USER - create the specified user with superuser power for created database | ||
mysql user: root # optional, default is | ||
# MYSQL_PASSWORD - specified superuser password which user is power for created database | ||
mysql password: root # optional, default is | ||
- uses: actions/checkout@v2 | ||
- name: enable TLS | ||
update: true | ||
install: >- | ||
autotools | ||
make | ||
git | ||
mingw-w64-x86_64-openssl | ||
mingw-w64-x86_64-gcc | ||
- uses: actions/checkout@v4 | ||
- shell: msys2 {0} | ||
run: | | ||
make testall | ||
build-macosx: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
brew update | ||
brew install openssl autoconf mysql redis | ||
brew link openssl --force | ||
pkg-config --cflags openssl | ||
pkg-config --libs openssl | ||
- name: Start MySQL and Redis services | ||
run: | | ||
brew services start mysql | ||
brew services start redis | ||
- uses: actions/checkout@v4 | ||
- name: make | ||
run: make testall | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libssl-dev autoconf mysql-server redis-server | ||
- name: Start MySQL and Redis services | ||
run: | | ||
sudo apt-get install openssl | ||
sudo apt-get install libssl-dev | ||
sudo service mysql start | ||
sudo service redis-server start | ||
- uses: actions/checkout@v4 | ||
- name: make | ||
run: make test | ||
run: make testall |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.