Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 771f4b9

Browse filesBrowse files
committed
ci: build alpine on Arm64
1 parent 895d69e commit 771f4b9
Copy full SHA for 771f4b9

File tree

1 file changed

+8
-4
lines changed
Filter options

1 file changed

+8
-4
lines changed

‎.github/workflows/CI.yml

Copy file name to clipboardExpand all lines: .github/workflows/CI.yml
+8-4Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ jobs:
259259
platform: linux/amd64
260260
container:
261261
{ distro: "alpine", image: "setup-cpp-alpine", BASE_VERSION: "22-alpine3.21", tag: "22-alpine3.21-1.3.0" }
262+
- os: ubuntu-24.04-arm
263+
platform: linux/arm64
264+
container:
265+
{ distro: "alpine", image: "setup-cpp-alpine", BASE_VERSION: "22-alpine3.21", tag: "22-alpine3.21-1.3.0" }
262266
steps:
263267
- uses: actions/checkout@v4
264268
with:
@@ -401,7 +405,7 @@ jobs:
401405

402406
- name: Build setup-cpp-${{matrix.container.distro }}-mingw
403407
id: build_mingw
404-
if: ${{ matrix.container.distro != 'fedora' }}
408+
if: ${{ matrix.container.distro != 'fedora' && !(matrix.container.distro == 'alpine' && matrix.platform == 'linux/arm64') }}
405409
uses: docker/build-push-action@v6
406410
with:
407411
context: .
@@ -415,7 +419,7 @@ jobs:
415419
cache-to: type=inline
416420

417421
- name: Tag latest locally
418-
if: ${{ matrix.container.distro != 'fedora' }}
422+
if: ${{ matrix.container.distro != 'fedora' && !(matrix.container.distro == 'alpine' && matrix.platform == 'linux/arm64') }}
419423
run: |
420424
docker tag aminya/${{ matrix.container.image }}-mingw:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-mingw:latest
421425
@@ -424,7 +428,7 @@ jobs:
424428
run: docker push aminya/${{ matrix.container.image }}-mingw:latest
425429

426430
- name: Docker Readme for setup-cpp-${{matrix.container.distro }}-mingw
427-
if: ${{ github.event_name != 'pull_request' && matrix.container.distro != 'fedora' }}
431+
if: ${{ github.event_name != 'pull_request' && matrix.container.distro != 'fedora' && !(matrix.container.distro == 'alpine' && matrix.platform == 'linux/arm64') }}
428432
uses: peter-evans/dockerhub-description@v4
429433
with:
430434
username: aminya
@@ -433,7 +437,7 @@ jobs:
433437
readme-filepath: ./README_DOCKER.md
434438

435439
- name: Test Mingw
436-
if: ${{ !contains(github.event.head_commit.message, '[skip test]') && matrix.container.distro != 'fedora' }}
440+
if: ${{ !contains(github.event.head_commit.message, '[skip test]') && matrix.container.distro != 'fedora' && !(matrix.container.distro == 'alpine' && matrix.platform == 'linux/arm64') }}
437441
uses: docker/build-push-action@v6
438442
with:
439443
context: .

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.