Skip to content

Commit

Permalink
Update linux builds to ubuntu 20
Browse files Browse the repository at this point in the history
Required two fixes:
- use `mpirun --oversubscribe` (needed by latest openmpi)
- lcov 1.15 (see linux-test-project/lcov#58)
  • Loading branch information
GiovanniBussi committed Nov 12, 2020
1 parent 7400767 commit 9d5d2d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9d5d2d7

Please sign in to comment.