summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/bootstrap.yml100
1 files changed, 95 insertions, 5 deletions
diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml
index c4fb1aca8d..5b3e237b0c 100644
--- a/.github/workflows/bootstrap.yml
+++ b/.github/workflows/bootstrap.yml
@@ -19,7 +19,7 @@ on:
jobs:
- fedora-sources:
+ fedora-clingo-sources:
runs-on: ubuntu-latest
container: "fedora:latest"
steps:
@@ -46,7 +46,7 @@ jobs:
spack -d solve zlib
tree ~/.spack/bootstrap/store/
- ubuntu-sources:
+ ubuntu-clingo-sources:
runs-on: ubuntu-latest
container: "ubuntu:latest"
steps:
@@ -76,7 +76,7 @@ jobs:
spack -d solve zlib
tree ~/.spack/bootstrap/store/
- opensuse-sources:
+ opensuse-clingo-sources:
runs-on: ubuntu-latest
container: "opensuse/leap:latest"
steps:
@@ -101,7 +101,7 @@ jobs:
spack -d solve zlib
tree ~/.spack/bootstrap/store/
- macos-sources:
+ macos-clingo-sources:
runs-on: macos-latest
steps:
- name: Install dependencies
@@ -137,7 +137,6 @@ jobs:
spack -d solve zlib
tree ~/.spack/bootstrap/store/
-
ubuntu-clingo-binaries:
runs-on: ubuntu-latest
strategy:
@@ -159,3 +158,94 @@ jobs:
spack bootstrap untrust spack-install
spack -d solve zlib
tree ~/.spack/bootstrap/store/
+
+ ubuntu-gnupg-binaries:
+ 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 patchelf gfortran git gzip \
+ make patch unzip xz-utils python3 python3-dev tree
+ - uses: actions/checkout@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 GnuPG
+ shell: runuser -u spack-test -- bash {0}
+ run: |
+ source share/spack/setup-env.sh
+ spack bootstrap untrust spack-install
+ spack -d gpg list
+ tree ~/.spack/bootstrap/store/
+
+ ubuntu-gnupg-sources:
+ 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 patchelf gfortran git gzip \
+ make patch unzip xz-utils python3 python3-dev tree \
+ gawk
+ - uses: actions/checkout@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 GnuPG
+ shell: runuser -u spack-test -- bash {0}
+ run: |
+ source share/spack/setup-env.sh
+ spack solve zlib
+ spack bootstrap untrust github-actions
+ spack -d gpg list
+ tree ~/.spack/bootstrap/store/
+
+ macos-gnupg-binaries:
+ runs-on: macos-latest
+ steps:
+ - name: Install dependencies
+ run: |
+ brew install tree
+ # Remove GnuPG since we want to bootstrap it
+ sudo rm -rf /usr/local/bin/gpg
+ - uses: actions/checkout@v2
+ - name: Bootstrap GnuPG
+ run: |
+ source share/spack/setup-env.sh
+ spack bootstrap untrust spack-install
+ spack -d gpg list
+ tree ~/.spack/bootstrap/store/
+
+ macos-gnupg-sources:
+ runs-on: macos-latest
+ steps:
+ - name: Install dependencies
+ run: |
+ brew install gawk tree
+ # Remove GnuPG since we want to bootstrap it
+ sudo rm -rf /usr/local/bin/gpg
+ - uses: actions/checkout@v2
+ - name: Bootstrap GnuPG
+ run: |
+ source share/spack/setup-env.sh
+ spack solve zlib
+ spack bootstrap untrust github-actions
+ spack -d gpg list
+ tree ~/.spack/bootstrap/store/