Skip to content

support mingw

support mingw #241

Workflow file for this run

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