Skip to content

Commit

Permalink
CI: Disable macOS and improve Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
essen committed Oct 3, 2024
1 parent 4b7766c commit 10c88a4
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
erlang:
- '27'
os:
- macos-latest
# - macos-latest
- ubuntu-latest
- windows-latest
extra: ['', 'LEGACY=1']
Expand All @@ -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 }}

0 comments on commit 10c88a4

Please sign in to comment.