From d47e996ebb402b578c55f432c9556a3bfd02ee1d Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Sun, 31 Mar 2024 14:23:47 +0200 Subject: [PATCH] fix macos compilation --- .github/workflows/compilation.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 57f00d0..04f05fd 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -12,7 +12,8 @@ jobs: runs-on: ${{ matrix.os[0] }} strategy: matrix: - os: [[macos-latest, bash], [macOS-11, bash], [ubuntu-latest, bash], [windows-latest, msys2]] + os: [[macos-latest, bash], [ubuntu-latest, bash], [windows-latest, msys2]] + fail-fast: false defaults: run: shell: ${{ matrix.os[1] }} {0} @@ -20,19 +21,19 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install on Ubuntu + - name: Install Ubuntu packages if: matrix.os[0] == 'ubuntu-latest' run: | sudo apt-get update - sudo apt-get -y install gettext texinfo bison flex libncurses5-dev libgmp3-dev libmpfr-dev libmpc-dev + sudo apt-get -y install texinfo bison flex gettext libgmp3-dev libmpfr-dev libmpc-dev - - name: Install on Mac - if: startsWith( matrix.os[0], 'macOS' ) + - name: Install macOS packages + if: matrix.os[0] == 'macos-latest' run: | brew update - brew install gettext texinfo bison flex gnu-sed gsl gmp mpfr - - - name: Install in MSYS2 + brew install texinfo bison flex gnu-sed gsl gmp mpfr libmpc + + - name: Install MSYS2 packages if: matrix.os[0] == 'windows-latest' uses: msys2/setup-msys2@v2 with: