Add msys2 CI build (#25)

* ci : add msys2 build

* wip

* wip

* revert me

* wip

* msys2 : build static libs by default

* Revert "revert me"

This reverts commit 2fe8012508.

* done
This commit is contained in:
Georgi Gerganov
2021-02-27 20:24:09 +02:00
committed by GitHub
parent 158ed71323
commit 5a26dacd0f

View File

@@ -143,7 +143,7 @@ jobs:
make
ctest --output-on-failure
Emscripten:
emscripten:
runs-on: ubuntu-18.04
strategy:
@@ -174,3 +174,29 @@ jobs:
popd
emcmake cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }}
make && ctest --output-on-failure
windows-msys2:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- name: Clone
uses: actions/checkout@v1
with:
submodules: recursive
- name: Dependencies
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: cmake make mingw-w64-x86_64-dlfcn mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2
- name: Configure
run: cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }}
- name: Build
run: |
make
ctest --output-on-failure