@@ -11,11 +11,10 @@ concurrency:
11
11
12
12
jobs :
13
13
build :
14
- # stick to Ubuntu 18.04, where we can still easily install yum via 'apt install'
15
- runs-on : ubuntu-18.04
14
+ runs-on : ubuntu-22.04
16
15
strategy :
17
16
matrix :
18
- python : [2.7, 3.6 ]
17
+ python : [2.7, 3.7 ]
19
18
fail-fast : false
20
19
steps :
21
20
- uses : actions/checkout@v3
31
30
# for modules tool
32
31
APT_PKGS="lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev"
33
32
# for building Singularity images
34
- APT_PKGS+=" rpm yum "
33
+ APT_PKGS+=" rpm dnf "
35
34
36
35
# Avoid apt-get update, as we don't really need it,
37
36
# and it does more harm than good (it's fairly expensive, and it results in flaky test runs)
41
40
sudo apt-get install $APT_PKGS
42
41
fi
43
42
44
- # fix for lua-posix packaging issue, see https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082
45
- # needed for Ubuntu 18.04, but not for Ubuntu 20.04, so skipping symlinking if posix.so already exists
46
- if [ ! -e /usr/lib/x86_64-linux-gnu/lua/5.2/posix.so ] ; then
47
- sudo ln -s /usr/lib/x86_64-linux-gnu/lua/5.2/posix_c.so /usr/lib/x86_64-linux-gnu/lua/5.2/posix.so
48
- fi
49
-
50
43
- name : install Lmod
51
44
run : |
52
45
# avoid downloading modules tool sources into easybuild-framework dir
104
97
# see https://docs.easybuild.io/en/latest/Containers.html
105
98
curl -OL https://raw.githubusercontent.com/easybuilders/easybuild-easyconfigs/develop/easybuild/easyconfigs/b/bzip2/bzip2-1.0.8.eb
106
99
export EASYBUILD_CONTAINERPATH=$PWD
107
- export EASYBUILD_CONTAINER_CONFIG='bootstrap=yum,osversion=7 '
100
+ export EASYBUILD_CONTAINER_CONFIG='bootstrap=docker,from=ghcr.io/easybuilders/centos-7.9-python3-amd64 '
108
101
eb bzip2-1.0.8.eb --containerize --experimental --container-build-image
109
102
singularity exec bzip2-1.0.8.sif command -v bzip2 | grep '/app/software/bzip2/1.0.8/bin/bzip2' || (echo "Path to bzip2 '$which_bzip2' is not correct" && exit 1)
110
103
singularity exec bzip2-1.0.8.sif bzip2 --help
0 commit comments