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 df10c43
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 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,22 @@ 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)
if: matrix.os == 'windows-latest'
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
release: false
update: true
install: >-
git
make
- 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: PATH=$INSTALL_DIR_FOR_OTP/bin:$PATH make check -j 8 -k ${{ matrix.extra }}

0 comments on commit df10c43

Please sign in to comment.