Skip to content

Commit

Permalink
feat(ci): add mingw tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 6, 2024
1 parent 68706a3 commit 9ee66d3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,28 @@ jobs:
- name: Run Tests
run: "./build/tests/lime-tests"

test-mingw:
runs-on: ubuntu-latest
container: archlinux:base-devel

strategy:
fail-fast: false
matrix:
language: ["cpp"]
arch: ["x86", "x64"]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install build dependencies
run: "pacman --noconfirm -Syu cmake gcc git make mingw-w64"

- name: Compile
run: |
cmake -B build -Dlime_tests=ON -DCMAKE_TOOLCHAIN_FILE=cmake/mingw-${{ matrix.arch }}.cmake
cmake --build build
test-windows-clang:
runs-on: windows-latest
strategy:
Expand Down

0 comments on commit 9ee66d3

Please sign in to comment.