-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1493 from rolalaro/fix_ci_other_arch
Fixing other architectures CI failure due to change of API
- Loading branch information
Showing
2 changed files
with
24 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,23 +28,23 @@ jobs: | |
# - arch: armv6 | ||
# distro: bullseye | ||
# target: ARMV6 | ||
- arch: armv7 | ||
distro: ubuntu_latest | ||
target: ARMV7 | ||
endianness: (Little Endian) | ||
#- arch: armv7 | ||
# distro: ubuntu:latest | ||
# target: ARMV7 | ||
# endianness: (Little Endian) | ||
- arch: aarch64 | ||
distro: ubuntu_latest | ||
distro: ubuntu:latest | ||
endianness: (Little Endian) | ||
- arch: riscv64 | ||
distro: ubuntu_latest | ||
distro: ubuntu:latest | ||
target: RISC-V | ||
endianness: (Little Endian) | ||
- arch: ppc64le | ||
distro: ubuntu_latest | ||
distro: ubuntu:latest | ||
target: POWER8 | ||
endianness: (Little Endian) | ||
- arch: s390x | ||
distro: ubuntu_latest | ||
distro: ubuntu:latest | ||
target: Z13 | ||
endianness: (Big Endian) | ||
|
||
|
@@ -53,11 +53,15 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Run on arch | ||
uses: uraimo/[email protected] | ||
uses: uraimo/run-on-arch-action@v2 | ||
# See issue https://github.com/uraimo/run-on-arch-action/issues/155 for the explanation on the weird use of the arch and distro | ||
# that resulted in error | ||
# ERROR: failed to solve: ${arch}/ubuntu:latest: failed to resolve source metadata for docker.io/${arch}/ubuntu:latest: no match for platform in manifest: not found | ||
with: | ||
githubToken: ${{ github.token }} | ||
arch: ${{ matrix.arch }} | ||
distro: ${{ matrix.distro }} | ||
arch: none | ||
distro: none | ||
base_image: "--platform=linux/${{ matrix.arch }} ${{ matrix.distro }}" | ||
|
||
run: | | ||
lscpu | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,14 +32,14 @@ jobs: | |
# distro: ubuntu20.04 | ||
# target: ARMV7 | ||
- arch: aarch64 | ||
distro: ubuntu_latest | ||
distro: ubuntu:latest | ||
target: ARMV8 | ||
endianness: (Little Endian) | ||
# - arch: ppc64le | ||
# distro: ubuntu20.04 | ||
# target: POWER8 | ||
- arch: s390x | ||
distro: ubuntu_latest | ||
distro: ubuntu:latest | ||
target: Z13 | ||
endianness: (Big Endian) | ||
|
||
|
@@ -48,11 +48,15 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Run on arch | ||
uses: uraimo/[email protected] | ||
uses: uraimo/run-on-arch-action@v2 | ||
# See issue https://github.com/uraimo/run-on-arch-action/issues/155 for the explanation on the weird use of the arch and distro | ||
# that resulted in error | ||
# ERROR: failed to solve: ${arch}/ubuntu:latest: failed to resolve source metadata for docker.io/${arch}/ubuntu:latest: no match for platform in manifest: not found | ||
with: | ||
githubToken: ${{ github.token }} | ||
arch: ${{ matrix.arch }} | ||
distro: ${{ matrix.distro }} | ||
arch: none | ||
distro: none | ||
base_image: "--platform=linux/${{ matrix.arch }} ${{ matrix.distro }}" | ||
|
||
run: | | ||
lscpu | ||
|