Skip to content

Commit

Permalink
Merge pull request #300 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
make cross: add riscv64
  • Loading branch information
AkihiroSuda authored Apr 28, 2022
2 parents fccc95e + 7d7574c commit 6bcfda1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
run: DOCKER_BUILDKIT=1 docker build -t rootlesskit:test-unit --target test-unit .
- name: "Unit test"
run: docker run --rm --privileged rootlesskit:test-unit
test-cross:
name: "Cross compilation test"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: "Build binaries"
run: DOCKER_BUILDKIT=1 docker build -o /tmp/artifact --target cross-artifact .
test-integration:
name: "Integration test"
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions hack/make-cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ x amd64 x86_64
x arm64 aarch64
x s390x s390x
x ppc64le ppc64le
x riscv64 riscv64
GOARM=7
export GOARM
x arm armv7l
Expand Down

0 comments on commit 6bcfda1

Please sign in to comment.