Skip to content

Commit 829f538

Browse files
committed
ci: disable arch llvm and alpine mingw [skip test]
1 parent 28288fd commit 829f538

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ jobs:
336336

337337
- name: Build setup-cpp-${{matrix.container.distro }}-llvm
338338
id: build_llvm
339+
if: ${{ matrix.container.distro != 'arch' }}
339340
uses: docker/build-push-action@v6
340341
with:
341342
context: .
@@ -349,18 +350,19 @@ jobs:
349350
cache-to: type=inline
350351

351352
- name: Tag latest locally
353+
if: ${{ matrix.container.distro != 'arch' }}
352354
run: |
353355
docker tag aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}-${{ env.version }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-llvm:latest
354356
docker tag aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}-${{ env.version }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}
355357
356358
- name: Push latest to Docker Hub
357-
if: ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' && matrix.container.distro != 'alpine' }}
359+
if: ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' && matrix.container.distro != 'alpine' && matrix.container.distro != 'arch' }}
358360
run: |
359361
docker push aminya/${{ matrix.container.image }}-llvm:latest
360362
docker push aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}
361363
362364
- name: Docker Readme for setup-cpp-${{matrix.container.distro }}-llvm
363-
if: ${{ github.event_name != 'pull_request' || contains(github.event.head_commit.message, '[push docker]') }}
365+
if: ${{ (github.event_name != 'pull_request' || contains(github.event.head_commit.message, '[push docker]')) && matrix.container.distro != 'arch' }}
364366
uses: peter-evans/dockerhub-description@v4
365367
with:
366368
username: aminya
@@ -369,7 +371,7 @@ jobs:
369371
readme-filepath: ./README_DOCKER.md
370372

371373
- name: Test LLVM
372-
if: ${{ !contains(github.event.head_commit.message, '[skip test]') }}
374+
if: ${{ !contains(github.event.head_commit.message, '[skip test]') && matrix.container.distro != 'arch' }}
373375
uses: docker/build-push-action@v6
374376
with:
375377
context: .
@@ -493,7 +495,7 @@ jobs:
493495
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "", latest: true }
494496
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "-llvm", latest: true }
495497
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "-gcc", latest: true }
496-
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "-mingw", latest: true }
498+
# - { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "-mingw", latest: true }
497499
steps:
498500
- name: Set up Docker Buildx
499501
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)