Skip to content

Commit

Permalink
Add ubuntu-22.04 to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dpmatthews committed Dec 5, 2023
1 parent 331a53b commit 4fc2dc7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: False
matrix:
ubuntu: ['ubuntu-18.04', 'ubuntu-20.04']
ubuntu: ['ubuntu-18.04', 'ubuntu-20.04', 'ubuntu-22.04']
name: FCM Tests ${{matrix.ubuntu}}
runs-on: ${{matrix.ubuntu}}
steps:
Expand All @@ -23,8 +23,11 @@ jobs:
libxml-parser-perl \
libdbi-perl \
libdbd-sqlite3-perl \
python-subversion libsvn-perl \
s-nail
libsvn-perl \
s-nail \
subversion
[[ ${{matrix.ubuntu}} != "ubuntu-22.04" ]] && sudo apt install -y python-subversion || true
[[ ${{matrix.ubuntu}} == "ubuntu-22.04" ]] && sudo apt install -y python2 || true
[[ ${{matrix.ubuntu}} == "ubuntu-18.04" ]] && sudo pip install 'trac' || true
echo "#!/bin/bash" >"${PWD}/bin/gfortran"
echo 'exec gfortran-9 "$@"' >>"${PWD}/bin/gfortran"
Expand Down

0 comments on commit 4fc2dc7

Please sign in to comment.