diff options
author | Ondřej Čertík <ondrej@certik.us> | 2020-01-14 08:45:51 -0700 |
---|---|---|
committer | Ondřej Čertík <ondrej@certik.us> | 2020-01-14 08:45:51 -0700 |
commit | e3d2164f7275de7c56aed7ca28086d48ca46ba64 (patch) | |
tree | 162b7f2045f6b384584fcd485f24d8a5f53b34b0 /.github/workflows/CI.yml | |
parent | 18ba49aabe705bea9a057d6ad8207473d0054e2c (diff) | |
download | fpm-e3d2164f7275de7c56aed7ca28086d48ca46ba64.tar.gz fpm-e3d2164f7275de7c56aed7ca28086d48ca46ba64.zip |
Refactor the CI.yml
Diffstat (limited to '.github/workflows/CI.yml')
-rw-r--r-- | .github/workflows/CI.yml | 12 |
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" |