From e3d2164f7275de7c56aed7ca28086d48ca46ba64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Tue, 14 Jan 2020 08:45:51 -0700 Subject: Refactor the CI.yml --- .github/workflows/CI.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.github/workflows/CI.yml') 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" -- cgit v1.2.3