From 10c88a4682930aee355171df3f0fc2329d3f8dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 1 Oct 2024 15:38:05 +0200 Subject: [PATCH] CI: Disable macOS and improve Windows --- .github/workflows/ci.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a489f354..5b8e2a91 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: erlang: - '27' os: - - macos-latest +# - macos-latest - ubuntu-latest - windows-latest extra: ['', 'LEGACY=1'] @@ -34,5 +34,17 @@ jobs: otp-version: ${{ matrix.erlang }} version-type: loose - - name: Run tests - run: ${{ matrix.os == 'macos-latest' && 'gmake' || 'make' }} check -j 8 -k ${{ matrix.extra }} + - name: Setup MSYS2 (Windows) + uses: msys2/setup-msys2@v2 + with: + msystem: mingw64 + release: false + + - name: Run tests (Linux) + if: matrix.os == 'ubuntu-latest' + run: make check -j 8 -k ${{ matrix.extra }} + + - name: Run tests (Windows) + if: matrix.os == 'windows-latest' + shell: msys2 {0} + run: make check -j 8 -k ${{ matrix.extra }}