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 8eb691a

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

File tree

1 file changed

+12
-13
lines changed
Filter options

1 file changed

+12
-13
lines changed

‎.github/workflows/CI.yml

Copy file name to clipboardExpand all lines: .github/workflows/CI.yml
+12-13Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
- { distro: "ubuntu", image: "setup-cpp-ubuntu", BASE_VERSION: "20.04", tag: "20.04-1.3.0" }
245245
- { distro: "fedora", image: "setup-cpp-fedora", tag: "40-1.3.0" }
246246
- { distro: "arch", image: "setup-cpp-arch", tag: "base-1.3.0" }
247-
- { distro: "alpine", image: "setup-cpp-alpine", BASE_VERSION: "22-alpine3.21", tag: "22-alpine3.21-1.3.0" }
247+
- { distro: "alpine", image: "setup-cpp-alpine", BASE_VERSION: "22-alpine3.21", tag: "3.21-1.3.0" }
248248
include:
249249
- os: ubuntu-24.04-arm
250250
platform: linux/arm64
@@ -255,10 +255,9 @@ jobs:
255255
- os: ubuntu-24.04-arm
256256
platform: linux/arm64
257257
container: { distro: "ubuntu", image: "setup-cpp-ubuntu", BASE_VERSION: "20.04", tag: "20.04-1.3.0" }
258-
- os: ubuntu-24.04
259-
platform: linux/amd64
260-
container:
261-
{ distro: "alpine", image: "setup-cpp-alpine", BASE_VERSION: "22-alpine3.21", tag: "22-alpine3.21-1.3.0" }
258+
- os: ubuntu-24.04-arm
259+
platform: linux/arm64
260+
container: { distro: "alpine", image: "setup-cpp-alpine", BASE_VERSION: "22-alpine3.21", tag: "3.21-1.3.0" }
262261
steps:
263262
- uses: actions/checkout@v4
264263
with:
@@ -401,7 +400,7 @@ jobs:
401400

402401
- name: Build setup-cpp-${{matrix.container.distro }}-mingw
403402
id: build_mingw
404-
if: ${{ matrix.container.distro != 'fedora' }}
403+
if: ${{ matrix.container.distro != 'fedora' && !(matrix.container.distro == 'alpine' && matrix.platform == 'linux/arm64') }}
405404
uses: docker/build-push-action@v6
406405
with:
407406
context: .
@@ -415,7 +414,7 @@ jobs:
415414
cache-to: type=inline
416415

417416
- name: Tag latest locally
418-
if: ${{ matrix.container.distro != 'fedora' }}
417+
if: ${{ matrix.container.distro != 'fedora' && !(matrix.container.distro == 'alpine' && matrix.platform == 'linux/arm64') }}
419418
run: |
420419
docker tag aminya/${{ matrix.container.image }}-mingw:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-mingw:latest
421420
@@ -424,7 +423,7 @@ jobs:
424423
run: docker push aminya/${{ matrix.container.image }}-mingw:latest
425424

426425
- name: Docker Readme for setup-cpp-${{matrix.container.distro }}-mingw
427-
if: ${{ github.event_name != 'pull_request' && matrix.container.distro != 'fedora' }}
426+
if: ${{ github.event_name != 'pull_request' && matrix.container.distro != 'fedora' && !(matrix.container.distro == 'alpine' && matrix.platform == 'linux/arm64') }}
428427
uses: peter-evans/dockerhub-description@v4
429428
with:
430429
username: aminya
@@ -433,7 +432,7 @@ jobs:
433432
readme-filepath: ./README_DOCKER.md
434433

435434
- name: Test Mingw
436-
if: ${{ !contains(github.event.head_commit.message, '[skip test]') && matrix.container.distro != 'fedora' }}
435+
if: ${{ !contains(github.event.head_commit.message, '[skip test]') && matrix.container.distro != 'fedora' && !(matrix.container.distro == 'alpine' && matrix.platform == 'linux/arm64') }}
437436
uses: docker/build-push-action@v6
438437
with:
439438
context: .
@@ -465,10 +464,10 @@ jobs:
465464
- { distro: "ubuntu", image: "setup-cpp-ubuntu", tag: "24.04-1.3.0", suffix: "-gcc", latest: true }
466465
- { distro: "ubuntu", image: "setup-cpp-ubuntu", tag: "24.04-1.3.0", suffix: "-mingw", latest: true }
467466

468-
- { distro: "alpine", image: "setup-cpp-alpine", tag: "22-alpine3.21-1.3.0", suffix: "", latest: true }
469-
- { distro: "alpine", image: "setup-cpp-alpine", tag: "22-alpine3.21-1.3.0", suffix: "-llvm", latest: true }
470-
- { distro: "alpine", image: "setup-cpp-alpine", tag: "22-alpine3.21-1.3.0", suffix: "-gcc", latest: true }
471-
- { distro: "alpine", image: "setup-cpp-alpine", tag: "22-alpine3.21-1.3.0", suffix: "-mingw", latest: true }
467+
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21-1.3.0", suffix: "", latest: true }
468+
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21-1.3.0", suffix: "-llvm", latest: true }
469+
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21-1.3.0", suffix: "-gcc", latest: true }
470+
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21-1.3.0", suffix: "-mingw", latest: true }
472471
steps:
473472
- name: Set up Docker Buildx
474473
uses: docker/setup-buildx-action@v3

0 commit comments

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