summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-11-26 15:32:13 +0100
committerGitHub <noreply@github.com>2021-11-26 15:32:13 +0100
commita96f2f603b48708b5063a9b81aa525f8d9ccd8c2 (patch)
treeeae68d6ee10f8aecebdb90ca7ec56cb6aacba237 /.github/workflows
parent2cdc758860758112837e7d1973a54d731e920531 (diff)
downloadspack-a96f2f603b48708b5063a9b81aa525f8d9ccd8c2.tar.gz
spack-a96f2f603b48708b5063a9b81aa525f8d9ccd8c2.tar.bz2
spack-a96f2f603b48708b5063a9b81aa525f8d9ccd8c2.tar.xz
spack-a96f2f603b48708b5063a9b81aa525f8d9ccd8c2.zip
Bootstrap patchelf like GnuPG (#27532)
Remove a custom bootstrapping procedure to use spack.bootstrap instead Modifications: * Reference count the bootstrap context manager * Avoid SpackCommand to make the bootstrapping procedure more transparent * Put back requirement on patchelf being in PATH for unit tests * Add an e2e test to check bootstrapping patchelf
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/bootstrap.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml
index ebfa93db19..ec7d9a3898 100644
--- a/.github/workflows/bootstrap.yml
+++ b/.github/workflows/bootstrap.yml
@@ -78,6 +78,34 @@ jobs:
spack -d solve zlib
tree ~/.spack/bootstrap/store/
+ ubuntu-clingo-binaries-and-patchelf:
+ runs-on: ubuntu-latest
+ container: "ubuntu:latest"
+ steps:
+ - name: Install dependencies
+ env:
+ DEBIAN_FRONTEND: noninteractive
+ run: |
+ apt-get update -y && apt-get upgrade -y
+ apt-get install -y \
+ bzip2 curl file g++ gcc gfortran git gnupg2 gzip \
+ make patch unzip xz-utils python3 python3-dev tree
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
+ - name: Setup repo and non-root user
+ run: |
+ git --version
+ git fetch --unshallow
+ . .github/workflows/setup_git.sh
+ useradd -m spack-test
+ chown -R spack-test .
+ - name: Bootstrap clingo
+ shell: runuser -u spack-test -- bash {0}
+ run: |
+ source share/spack/setup-env.sh
+ spack -d solve zlib
+ tree ~/.spack/bootstrap/store/
+
+
opensuse-clingo-sources:
runs-on: ubuntu-latest
container: "opensuse/leap:latest"