diff options
author | Ondřej Čertík <ondrej@certik.us> | 2020-01-25 10:33:27 -0700 |
---|---|---|
committer | Ondřej Čertík <ondrej@certik.us> | 2020-01-25 10:33:27 -0700 |
commit | 33dbc2b7b11681f7e911cb619511b0d00d7da8c3 (patch) | |
tree | 8706935f2bb8eea9588a4726a515fec80ce3a2eb /.github/workflows | |
parent | af56c5890cd28f051147e36fa3c1d8553ec944ea (diff) | |
download | fpm-33dbc2b7b11681f7e911cb619511b0d00d7da8c3.tar.gz fpm-33dbc2b7b11681f7e911cb619511b0d00d7da8c3.zip |
Install cmake using apt-get
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/CI.yml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c9618f5..3264513 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -36,15 +36,12 @@ jobs: with: python-version: 3.x - - name: Set up common - run: pip install --upgrade cmake - - - name: Install GFortran Linux + - name: Install GFortran and CMake 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 apt-get install -y gcc-${GCC_V} gfortran-${GCC_V} cmake 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} |