mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
ci: Ensure binfmt is set up for arm64. Skip s390x
s390x emulation is broken. All emulated builds fail with. Illegal Instruction and/or Segfaults. Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
This commit is contained in:
parent
e26aa2e490
commit
9b8ae51481
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -91,6 +91,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ./src/github.com/linuxkit/linuxkit
|
path: ./src/github.com/linuxkit/linuxkit
|
||||||
|
|
||||||
|
- name: Set up binfmt
|
||||||
|
# Only register arm64 as we are on amd64 already. s390x is not reliable
|
||||||
|
run: docker run --privileged --rm tonistiigi/binfmt --install arm64
|
||||||
|
|
||||||
- name: Download linuxkit
|
- name: Download linuxkit
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -112,8 +116,9 @@ jobs:
|
|||||||
${{ runner.os }}-linuxkit-
|
${{ runner.os }}-linuxkit-
|
||||||
|
|
||||||
- name: Build Packages
|
- name: Build Packages
|
||||||
|
# Skip s390x as emulation is unreliable
|
||||||
run: |
|
run: |
|
||||||
make -C pkg build
|
make OPTIONS="--skip-platforms linux/s390x" -C pkg build
|
||||||
|
|
||||||
test_packages:
|
test_packages:
|
||||||
name: Packages Tests
|
name: Packages Tests
|
||||||
|
Loading…
Reference in New Issue
Block a user