Skip to content

Updating workflows.

Updating workflows. #2

name: test-windows-mingw-build
on:
push:
branches: [ 2.0 ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: msys2/setup-msys2@v2
with:
install: gcc make
- name: install dependencies
shell: msys2 {0}
run: |
(echo ""; echo "y") | pacman -S mingw-w64-x86_64-toolchain
echo "y" | pacman -S mingw-w64-x86_64-cmake
- name: run build
shell: msys2 {0}
run: |
cmake -G "MinGW Makefiles" . -DIS_CI_BUILD="true"
cmake --build .
- name: run unit tests
shell: msys2 {0}
run: |
./seika_test.exe