Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arm64 support #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,18 @@ jobs:
df -h
- name: Docker Build
run: |
docker build .
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --use --bootstrap
echo "docker buildx inspect --bootstrap"
docker buildx inspect --bootstrap
echo "docker buildx build --platform linux/amd64,linux/arm64 ."
docker buildx build --platform linux/amd64,linux/arm64 .
VPP_VERSION=$(docker run $(docker build -q . --target version))
echo "VPP_VERSION=${VPP_VERSION}" >> $GITHUB_ENV
TAG=v${VPP_VERSION/\~/-}
echo "TAG=${TAG}" >> $GITHUB_ENV
docker build -t ghcr.io/${{github.repository}}/vpp:${TAG} . --target vpp
docker build -t ghcr.io/${{github.repository}}/vpp-dbg:${TAG} . --target vpp-dbg
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/${{github.repository}}/vpp:${TAG} . --target vpp
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/${{github.repository}}/vpp-dbg:${TAG} . --target vpp-dbg
- name: Generate files
run: go generate ./...
- name: Check for changes in generated code
Expand Down