Skip to content

Commit

Permalink
ci: add linux/arm64 image test
Browse files Browse the repository at this point in the history
Signed-off-by: Peefy <[email protected]>
  • Loading branch information
Peefy committed Oct 30, 2024
1 parent b9bf73b commit 914719e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/image-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Test non user docker
strategy:
matrix:
os: [ macos-13, macos-latest, ubuntu-latest, windows-latest ]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -23,12 +23,15 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: v0.11.2
install: true
- name: Test docker non-user with KCL version
- name: Test docker amd64 non-user with KCL version
run: docker run --user=999 --rm kcllang/kcl sh -c "kcl --version"
- name: Test docker non-user with KCL running
- name: Test docker amd64 non-user with KCL running
run: docker run --user=999 --rm kcllang/kcl sh -c "echo 'a=1' | kcl run -"
- name: Test docker arm64 non-user with KCL version
run: docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "kcl --version"
- name: Test docker arm64 non-user with KCL running
run: docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "echo 'a=1' | kcl run -"

0 comments on commit 914719e

Please sign in to comment.