From 1dd8df9120fd6d7b4381b8dbc63acc4325450ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Thu, 20 Feb 2020 14:36:27 -0700 Subject: CI: Do not install GFortran (already present) --- .github/workflows/CI.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fce83bb..fcc50b6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -24,7 +24,7 @@ jobs: gcc_v: [9] # Version of GFortran we want to use. rust: [stable] env: - FC: gfortran-${{ matrix.gcc_v }} + FC: gfortran GCC_V: ${{ matrix.gcc_v }} steps: @@ -38,16 +38,10 @@ jobs: - name: Install GFortran Linux if: contains(matrix.os, 'ubuntu') run: | - sudo add-apt-repository ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install -y gcc-${GCC_V} gfortran-${GCC_V} sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_V} 100 \ --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \ --slave /usr/bingcov gcov /usr/bin/gcov-${GCC_V} - - name: Install GFortran macOS - if: contains(matrix.os, 'macos') - run: brew install gcc@${GCC_V} || brew upgrade gcc@${GCC_V} || true - name: Install Rust uses: hecrj/setup-rust-action@v1 -- cgit v1.2.3