Add Windows to the CI matrix.

This commit is contained in:
David Given 2022-06-26 19:41:13 +02:00
parent c3dea7641e
commit 145d5ac4de

View file

@ -6,7 +6,7 @@ jobs:
build-linux: build-linux:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- name: apt - name: apt
run: sudo apt update && sudo apt install bison flex ninja-build run: sudo apt update && sudo apt install bison flex ninja-build
- name: make - name: make
@ -15,9 +15,32 @@ jobs:
build-macos: build-macos:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: brew - name: brew
run: brew install ninja run: brew install ninja
- name: make - name: make
run: make run: make
build-windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: msys2/setup-msys2@v2
with:
update: true
msystem: MINGW32
install: >-
make
mingw-w64-i686-gcc
mingw-w64-i686-lua
ninja
bison
flex
zip
- uses: actions/checkout@v3
- name: build
run: |
make