File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ name: Tests for container support
33on : [push, pull_request]
44jobs :
55 build :
6- runs-on : ubuntu-22.04
6+ # stick to Ubuntu 18.04, where we can still easily install yum via 'apt-get install'
7+ runs-on : ubuntu-18.04
78 strategy :
89 matrix :
9- python : [3 .7, 3.8, 3.9, '3.10' ]
10+ python : [2 .7, 3.6 ]
1011 fail-fast : false
1112 steps :
1213 - uses : actions/checkout@v2
2324 sudo apt-get update -yqq
2425 # for building Singularity images
2526 sudo apt-get install rpm
26- sudo apt-get install dnf
27+ sudo apt-get install yum
2728 # for modules tool
2829 sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev
2930 # fix for lua-posix packaging issue, see https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082
8485 # create $HOME/.rpmmacros, see also https://github.com/apptainer/singularity/issues/241
8586 echo '%_var /var' > $HOME/.rpmmacros
8687 echo '%_dbpath %{_var}/lib/rpm' >> $HOME/.rpmmacros
87- ls -ld $HOME/.rpmmacros
88- echo "contents of $HOME/.rpmmacros:"
89- cat $HOME/.rpmmacros
90- sudo echo '%_var /var' > /root/.rpmmacros
91- sudo echo '%_dbpath %{_var}/lib/rpm' >> /root/.rpmmacros
9288 # build CentOS 7 container image for bzip2 1.0.8 using EasyBuild;
9389 # see https://docs.easybuild.io/en/latest/Containers.html
9490 curl -OL https://raw.githubusercontent.com/easybuilders/easybuild-easyconfigs/develop/easybuild/easyconfigs/b/bzip2/bzip2-1.0.8.eb
You can’t perform that action at this time.
0 commit comments