Skip to content

Commit a9fe707

Browse files
committed
GH: Test Mingw64 build
1 parent 3e172de commit a9fe707

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,3 +859,42 @@ jobs:
859859

860860
- name: Run all checks
861861
run: cmake --build build -t check
862+
863+
mingw:
864+
runs-on: windows-latest
865+
defaults:
866+
run:
867+
shell: msys2 {0}
868+
steps:
869+
- uses: msys2/setup-msys2@v2
870+
with:
871+
update: false
872+
release: false
873+
install: >-
874+
mingw-w64-x86_64-gcc
875+
mingw-w64-x86_64-python-pip
876+
mingw-w64-x86_64-cmake
877+
mingw-w64-x86_64-make
878+
mingw-w64-x86_64-python-pytest
879+
mingw-w64-x86_64-eigen3
880+
mingw-w64-x86_64-boost
881+
mingw-w64-x86_64-catch
882+
883+
- uses: actions/checkout@v1
884+
885+
- name: Configure
886+
run: cmake -DCMAKE_VERBOSE_MAKEFILE=ON -G "MinGW Makefiles" -S . -B build
887+
888+
- name: Build
889+
run: cmake --build build -j 2
890+
891+
- name: Python tests
892+
run: cmake --build build --target pytest
893+
894+
- name: C++ tests
895+
run: cmake --build build --target cpptest
896+
897+
- name: Interface test
898+
run: cmake --build build --target test_cmake_build
899+
900+

0 commit comments

Comments
 (0)