My workaround #1
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
name: Windows build | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: MINGW64 | |
update: true | |
install: >- | |
ctags | |
gcc | |
git | |
make | |
mingw64/mingw-w64-x86_64-freetype | |
mingw64/mingw-w64-x86_64-libpng | |
mingw64/mingw-w64-x86_64-pkg-config | |
mingw64/mingw-w64-x86_64-SDL2 | |
mingw64/mingw-w64-x86_64-toolchain | |
mingw64/mingw-w64-x86_64-zlib | |
# This is awful but we have to pass the mingw64/include directory so that | |
# zlib.h can be found because pkg-config doesn't return any cflags for | |
# zlib. | |
- shell: msys2 {0} | |
run: | | |
make ARCH=msys2_win64 CXX=g++ WINE=\"\" CFLAGS="-ID:/a/_temp/msys64/mingw64/include/" debug -j 4 -k |