@@ -62,80 +62,80 @@ jobs:
6262 spack buildcache push --unsigned ./binary-mirror clingo-bootstrap
6363 - uses : actions/upload-artifact@v5
6464 with :
65- name : clingo_binary_mirror
65+ name : clingo_binary_mirror-${{ matrix.runner[0] }}-${{ matrix.runner[1] }}-${{ matrix.python-version }}
6666 path : binary-mirror
6767
6868
69- manylinux2014 :
70- runs-on : ["self-hosted", "Linux"]
71- outputs :
72- spack_manylinux_tag : ${{ fromJSON(steps.docker_meta.outputs.json).tags[0] }}
73- permissions :
74- packages : write
75-
76- steps :
77- - uses : actions/checkout@v4
78-
79- # Setup tags to be used for docker images
80- - uses : docker/metadata-action@v5
81- id : docker_meta
82- with :
83- images : ghcr.io/${{ github.repository_owner }}/clingo_manylinux2014
84-
85- # Login to Github Packages
86- - uses : docker/login-action@v3
87- with :
88- registry : ghcr.io
89- username : ${{ github.actor }}
90- password : ${{ secrets.GITHUB_TOKEN }}
91-
92- - uses : docker/setup-qemu-action@v3
93- id : qemu
94- with :
95- platforms : linux/ppc64le,linux/arm64
96-
97- - uses : docker/setup-buildx-action@v3
98-
99- # Build and eventually push to registry
100- - uses : docker/build-push-action@v5
101- with :
102- file : ./clingo/Dockerfile.manylinux2014
103- platforms : linux/arm64,linux/ppc64le,linux/amd64
104- cache-from : |
105- ghcr.io/${{ github.repository_owner }}/clingo_manylinux2014:main
106- ${{ steps.docker_meta.outputs.tags }}
107- cache-to : type=inline
108- pull : ${{ github.event_name == 'pull_request' }}
109- push : true
110- tags : ${{ steps.docker_meta.outputs.tags }}
111- labels : ${{ steps.docker_meta.outputs.labels }}
112-
113- upload-manylinux2014 :
114- runs-on : ubuntu-latest
115- needs : [ manylinux2014 ]
116- env :
117- SPACK_MANYLINUX2014_TAG : ${{ needs.manylinux2014.outputs.spack_manylinux_tag }}
118- steps :
119- - uses : actions/checkout@v4
120- - run : ./copy_mirror_manylinux2014.sh
121- - uses : actions/upload-artifact@v5
122- with :
123- name : clingo_binary_mirror
124- path : binary-mirror
69+ # manylinux2014:
70+ # runs-on: ["self-hosted", "Linux"]
71+ # outputs:
72+ # spack_manylinux_tag: ${{ fromJSON(steps.docker_meta.outputs.json).tags[0] }}
73+ # permissions:
74+ # packages: write
75+
76+ # steps:
77+ # - uses: actions/checkout@v4
78+
79+ # # Setup tags to be used for docker images
80+ # - uses: docker/metadata-action@v5
81+ # id: docker_meta
82+ # with:
83+ # images: ghcr.io/${{ github.repository_owner }}/clingo_manylinux2014
84+
85+ # # Login to Github Packages
86+ # - uses: docker/login-action@v3
87+ # with:
88+ # registry: ghcr.io
89+ # username: ${{ github.actor }}
90+ # password: ${{ secrets.GITHUB_TOKEN }}
91+
92+ # - uses: docker/setup-qemu-action@v3
93+ # id: qemu
94+ # with:
95+ # platforms: linux/ppc64le,linux/arm64
96+
97+ # - uses: docker/setup-buildx-action@v3
98+
99+ # # Build and eventually push to registry
100+ # - uses: docker/build-push-action@v5
101+ # with:
102+ # file: ./clingo/Dockerfile.manylinux2014
103+ # platforms: linux/arm64,linux/ppc64le,linux/amd64
104+ # cache-from: |
105+ # ghcr.io/${{ github.repository_owner }}/clingo_manylinux2014:main
106+ # ${{ steps.docker_meta.outputs.tags }}
107+ # cache-to: type=inline
108+ # pull: ${{ github.event_name == 'pull_request' }}
109+ # push: true
110+ # tags: ${{ steps.docker_meta.outputs.tags }}
111+ # labels: ${{ steps.docker_meta.outputs.labels }}
112+
113+ # upload-manylinux2014:
114+ # runs-on: ubuntu-latest
115+ # needs: [ manylinux2014 ]
116+ # env:
117+ # SPACK_MANYLINUX2014_TAG: ${{ needs.manylinux2014.outputs.spack_manylinux_tag }}
118+ # steps:
119+ # - uses: actions/checkout@v4
120+ # - run: ./copy_mirror_manylinux2014.sh
121+ # - uses: actions/upload-artifact@v5
122+ # with:
123+ # name: clingo_binary_mirror-ubuntu-latest
124+ # path: binary-mirror
125125
126126 clingo_json :
127127 runs-on : ubuntu-latest
128- needs : [ upload-manylinux2014, macos_clingo ]
128+ needs : [ macos_clingo ]
129129 steps :
130130 - uses : actions/checkout@v4
131131 - uses : actions/checkout@v4
132132 with :
133133 repository : spack/spack
134134 path : spack
135135 ref : 734c5db2121b01c373eed6538e452f18887e9e44
136+
136137 - uses : actions/download-artifact@v3
137- with :
138- name : clingo_binary_mirror
138+
139139 - run : ./spack/bin/spack python ./generate_bootstrap_json.py clingo
140140 - uses : actions/upload-artifact@v5
141141 with :
0 commit comments