From 9d5d2d7df8b65b3b18af942b3eb14a61fc37474e Mon Sep 17 00:00:00 2001 From: Giovanni Bussi Date: Thu, 12 Nov 2020 14:37:04 +0100 Subject: [PATCH] Update linux builds to ubuntu 20 Required two fixes: - use `mpirun --oversubscribe` (needed by latest openmpi) - lcov 1.15 (see https://github.com/linux-test-project/lcov/issues/58) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c7a76b5b1..1a7948700c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,7 @@ env: jobs: linux: -# I keep 18.04 since there are a few issues with the pdf manual compilation on ubuntu 20 - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: @@ -88,7 +87,7 @@ jobs: - name: Install lcov if: contains( matrix.variant, '-coverage-' ) run: | - ./.travis/install.lcov v1.14 + ./.travis/install.lcov v1.15 echo "PLUMED_CONFIG=$PLUMED_CONFIG --disable-external-lapack --disable-external-blas --enable-gcov CXXFLAGS=-O0" >> $GITHUB_ENV # make sure all tests are run echo "PLUMED_ALL_TESTS=yes" >> $GITHUB_ENV @@ -105,6 +104,7 @@ jobs: echo "CXX=mpic++" >> $GITHUB_ENV echo "OMPI_MCA_btl_base_warn_component_unused=0" >> $GITHUB_ENV echo "OMPI_MCA_btl_base_verbose=0" >> $GITHUB_ENV + echo "MPIEXEC=mpirun --oversubscribe" >> $GITHUB_ENV - name: Build PLUMED run: | ccache -s