From 9ee66d3cc9e8976d5d8a40856d7ee5a09d32c415 Mon Sep 17 00:00:00 2001 From: Curve Date: Tue, 7 May 2024 01:12:26 +0200 Subject: [PATCH] feat(ci): add mingw tests --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 44edd2e..00c84fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: