|
47 | 47 | repository: spack/spack |
48 | 48 | path: spack |
49 | 49 | ref: 734c5db2121b01c373eed6538e452f18887e9e44 |
| 50 | + - uses: actions/checkout@v4 |
| 51 | + with: |
| 52 | + repository: spack/spack-packages |
| 53 | + path: spack-packages |
| 54 | + ref: a5b98e6b7e411a499f310e048c1d2e39d1004519 |
50 | 55 | # See https://github.com/actions/setup-python/issues/960 |
51 | 56 | - name: Workaround for broken Python versions from setup-python |
52 | 57 | run: brew install gettext zlib |
|
60 | 65 | . spack/share/spack/setup-env.sh |
61 | 66 |
|
62 | 67 | spack config add "config:install_tree:padded_length:256" |
| 68 | + spack repo set --destination "$PWD/spack-packages" builtin |
63 | 69 |
|
64 | 70 | spack python clingo/install_clingo.py |
65 | 71 | spack buildcache push --unsigned ./binary-mirror clingo-bootstrap |
@@ -88,13 +94,10 @@ jobs: |
88 | 94 |
|
89 | 95 | - uses: docker/setup-buildx-action@v3 |
90 | 96 |
|
91 | | - - name: set base image |
92 | | - run: | |
93 | | - if [ '${{ matrix.python-version }}' = '3.14' ]; then |
94 | | - echo "BASE_IMAGE=quay.io/pypa/manylinux2014:2025.11.11-1" >> $GITHUB_ENV |
95 | | - else |
96 | | - echo "BASE_IMAGE=ghcr.io/spack/manylinux2014:v2024-10-16" >> $GITHUB_ENV |
97 | | - fi |
| 97 | + - if: ${{ matrix.python-version == '3.14' }} |
| 98 | + run: echo "BASE_IMAGE=quay.io/pypa/manylinux2014:2025.11.11-1" >> $GITHUB_ENV |
| 99 | + - if: ${{ matrix.python-version != '3.14' }} |
| 100 | + run: echo "BASE_IMAGE=ghcr.io/spack/manylinux2014:v2024-10-16" >> $GITHUB_ENV |
98 | 101 |
|
99 | 102 | - uses: docker/build-push-action@v5 |
100 | 103 | with: |
@@ -127,10 +130,18 @@ jobs: |
127 | 130 | repository: spack/spack |
128 | 131 | path: spack |
129 | 132 | ref: 734c5db2121b01c373eed6538e452f18887e9e44 |
| 133 | + - uses: actions/checkout@v4 |
| 134 | + with: |
| 135 | + repository: spack/spack-packages |
| 136 | + path: spack-packages |
| 137 | + ref: a5b98e6b7e411a499f310e048c1d2e39d1004519 |
130 | 138 |
|
131 | 139 | - uses: actions/download-artifact@v6 |
132 | 140 |
|
133 | | - - run: ./spack/bin/spack python ./generate_bootstrap_json.py clingo |
| 141 | + - run: | |
| 142 | + . spack/share/spack/setup-env.sh |
| 143 | + spack repo set --destination "$PWD/spack-packages" builtin |
| 144 | + spack python ./generate_bootstrap_json.py clingo |
134 | 145 |
|
135 | 146 | - uses: actions/upload-artifact@v5 |
136 | 147 | with: |
|
0 commit comments