-
Notifications
You must be signed in to change notification settings - Fork 16
51 lines (50 loc) · 1.23 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: CI
on: [push, pull_request]
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: msys2/setup-msys2@v2
with:
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 service mysql start
sudo service redis-server start
- uses: actions/checkout@v4
- name: make
run: make testall