diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/CI.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8ac6435..2f351a1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -31,12 +31,16 @@ jobs: - name: Checkout code uses: actions/checkout@v1 - - name: Install GFortran and CMake Linux + - name: Install CMake Linux + if: contains(matrix.os, 'ubuntu') + run: ci/install_cmake.sh + + - 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} cmake + 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} |