diff options
author | Loïc Hoguin <[email protected]> | 2024-10-01 15:38:05 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-10-03 13:08:07 +0200 |
commit | df10c43a5aa621bd7cbfef26fac4d96a75f8106b (patch) | |
tree | 08af11516c48f385574e953679585bd9fb8e3099 | |
parent | 4b7766cdfdcd0fc85e6091bdccb5daef195fc8b2 (diff) | |
download | erlang.mk-df10c43a5aa621bd7cbfef26fac4d96a75f8106b.tar.gz erlang.mk-df10c43a5aa621bd7cbfef26fac4d96a75f8106b.tar.bz2 erlang.mk-df10c43a5aa621bd7cbfef26fac4d96a75f8106b.zip |
CI: Disable macOS and improve Windows
-rw-r--r-- | .github/workflows/ci.yaml | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a489f35..65b838a 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,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 }} |