aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-02-20 14:36:27 -0700
committerOndřej Čertík <ondrej@certik.us>2020-02-20 15:22:06 -0700
commit1dd8df9120fd6d7b4381b8dbc63acc4325450ad7 (patch)
tree9000e8f9f875a6b1ada1c4b692875d321b5cb20d /.github
parent8281c302054e479ba4d938971a426721f409ca23 (diff)
downloadfpm-1dd8df9120fd6d7b4381b8dbc63acc4325450ad7.tar.gz
fpm-1dd8df9120fd6d7b4381b8dbc63acc4325450ad7.zip
CI: Do not install GFortran (already present)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/CI.yml8
1 files changed, 1 insertions, 7 deletions
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