Skip to content

Commit 9ee66d3

Browse files
committed
feat(ci): add mingw tests
1 parent 68706a3 commit 9ee66d3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,28 @@ jobs:
2929
- name: Run Tests
3030
run: "./build/tests/lime-tests"
3131

32+
test-mingw:
33+
runs-on: ubuntu-latest
34+
container: archlinux:base-devel
35+
36+
strategy:
37+
fail-fast: false
38+
matrix:
39+
language: ["cpp"]
40+
arch: ["x86", "x64"]
41+
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v3
45+
46+
- name: Install build dependencies
47+
run: "pacman --noconfirm -Syu cmake gcc git make mingw-w64"
48+
49+
- name: Compile
50+
run: |
51+
cmake -B build -Dlime_tests=ON -DCMAKE_TOOLCHAIN_FILE=cmake/mingw-${{ matrix.arch }}.cmake
52+
cmake --build build
53+
3254
test-windows-clang:
3355
runs-on: windows-latest
3456
strategy:

0 commit comments

Comments
 (0)