aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/CI.yml
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-14 08:45:51 -0700
committerOndřej Čertík <ondrej@certik.us>2020-01-14 08:45:51 -0700
commite3d2164f7275de7c56aed7ca28086d48ca46ba64 (patch)
tree162b7f2045f6b384584fcd485f24d8a5f53b34b0 /.github/workflows/CI.yml
parent18ba49aabe705bea9a057d6ad8207473d0054e2c (diff)
downloadfpm-e3d2164f7275de7c56aed7ca28086d48ca46ba64.tar.gz
fpm-e3d2164f7275de7c56aed7ca28086d48ca46ba64.zip
Refactor the CI.yml
Diffstat (limited to '.github/workflows/CI.yml')
-rw-r--r--.github/workflows/CI.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 775e4f5..83f4fc4 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -38,7 +38,7 @@ jobs:
run: pip install --upgrade cmake
- name: Install GFortran Linux
- if: contains( matrix.os, 'ubuntu')
+ if: contains(matrix.os, 'ubuntu')
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
@@ -47,15 +47,15 @@ jobs:
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
--slave /usr/bingcov gcov /usr/bin/gcov-${GCC_V}
- - name: Install Rust macOS
- if: contains( matrix.os, 'macos')
- run: |
- curl https://sh.rustup.rs -sSf | sh -s -- -y
-
- name: Install GFortran macOS
if: contains( matrix.os, 'macos')
run: brew install gcc@${GCC_V} || brew upgrade gcc@${GCC_V} || true
+ - name: Install Rust macOS
+ if: contains(matrix.os, 'macos')
+ run: |
+ curl https://sh.rustup.rs -sSf | sh -s -- -y
+
- name: Build
run: |
export PATH="$HOME/.cargo/bin:$PATH"