Run eWaterCycle/setup-singularity@v7
Setup singularity version spec 3.8.3
Version 3.8.3 was not found in the local cache
Binary build of version 3.8.3 is not available for downloading
Downloading singularity release tarball from https://github.com/hpcng/singularity/releases/download/v3.8.3/singularity-3.8.3.tar.gz ...
Successfully downloaded singularity tarball to /home/runner/work/_temp/7aa43783-6d04-4e90-be9d-b6d800a8e574
Extracting singularity...
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/go/src/github.com/hpcng -f /home/runner/work/_temp/7aa43783-6d04-4e90-be9d-b6d800a8e574
Successfully extracted singularity to /home/runner/go/src/github.com/hpcng/singularity-3.8.3
Configuring in /home/runner/go/src/github.com/hpcng/singularity-3.8.3
/home/runner/go/src/github.com/hpcng/singularity-3.8.3/mconfig -p /home/runner/go/src/github.com/hpcng/singularity-3.8.3/prefix --without-suid
Configuring for project `singularity' with languages: C, Golang
=> running pre-basechecks project specific checks ...
=> running base system checks ...
checking: host C compiler... cc
checking: host C++ compiler... c++
checking: host Go compiler (at least version 1.13)... not found!
mconfig: could not complete configuration
Error: The process '/home/runner/go/src/github.com/hpcng/singularity-3.8.3/mconfig' failed with exit code 1
When I bumped Ubuntu version from 20.04 to 22.04, setup-singularity ran into error.
Relevant code (shows only the select parts):
For the complete workflow, see here.
Relevant error:
For the full error message, see here.
It worked as expected, when I changed the ubuntu version back to 20.04.