1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-24 22:16:11 +03:00

Add github CI action for Windows

Hardcode TARGETOS to make it work.
This commit is contained in:
Erik Ekman 2021-08-11 09:56:16 +02:00
parent 8afcf4fb8d
commit d00eba8df2

25
.github/workflows/windows.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: windows
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: false
install: git make mingw-w64-x86_64-toolchain mingw-w64-x86_64-zlib
- name: make
run: make TARGETOS=windows32