update info being printed when fetch step is running to make it clear that checksums are verified as well #1720
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: End-to-end test of EasyBuild in different distros | |
on: [push, pull_request] | |
jobs: | |
build_publish: | |
name: End-to-end test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
container: | |
- centos-8.5 | |
- fedora-36 | |
- opensuse-15.4 | |
- rockylinux-8.8 | |
- rockylinux-9.2 | |
- ubuntu-20.04 | |
- ubuntu-22.04 | |
fail-fast: false | |
container: | |
image: ghcr.io/easybuilders/${{ matrix.container }}-amd64 | |
volumes: | |
- /node20217:/node20217:rw,rshared | |
- ${{ matrix.container == 'centos-7.9' && '/node20217:/__e/node20:ro,rshared' || ' ' }} | |
steps: | |
- name: install nodejs20glibc2.17 | |
if: ${{ matrix.container == 'centos-7.9' }} | |
run: | | |
curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz | |
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217 | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: download and unpack easyblocks and easyconfigs repositories | |
run: | | |
cd $HOME | |
for pkg in easyblocks easyconfigs; do | |
curl -OL https://github.com/easybuilders/easybuild-${pkg}/archive/5.0.x.tar.gz | |
tar xfz 5.0.x.tar.gz | |
rm -f 5.0.x.tar.gz | |
done | |
- name: Set up environment | |
shell: bash | |
run: | | |
# collect environment variables to be set in subsequent steps in script that can be sourced | |
echo "export PATH=$PWD:$PATH" > /tmp/eb_env | |
echo "export PYTHONPATH=$PWD:$HOME/easybuild-easyblocks-5.0.x:$HOME/easybuild-easyconfigs-5.0.x" >> /tmp/eb_env | |
- name: Run commands to check test environment | |
shell: bash | |
run: | | |
cmds=( | |
"whoami" | |
"pwd" | |
"env | sort" | |
"eb --version" | |
"eb --show-system-info" | |
"eb --check-eb-deps" | |
"eb --show-config" | |
"eb -x bzip2-1.0.8.eb" | |
) | |
for cmd in "${cmds[@]}"; do | |
echo ">>> $cmd" | |
sudo -u easybuild bash -l -c "source /tmp/eb_env; $cmd" | |
done | |
- name: End-to-end test of installing bzip2 with EasyBuild | |
shell: bash | |
run: | | |
sudo -u easybuild bash -l -c "source /tmp/eb_env; eb bzip2-1.0.8.eb --trace --robot" |