From f34985976231958bb3e4fe02acbf7efc2e418e79 Mon Sep 17 00:00:00 2001 From: Andras Gemes Date: Fri, 20 Dec 2024 10:47:00 +0100 Subject: [PATCH] ci: add arm64 build workflow --- .github/workflows/build-arm64.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build-arm64.yml diff --git a/.github/workflows/build-arm64.yml b/.github/workflows/build-arm64.yml new file mode 100644 index 0000000..0e8a57b --- /dev/null +++ b/.github/workflows/build-arm64.yml @@ -0,0 +1,25 @@ +name: build (arm64) + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up Docker buildx + uses: docker/setup-buildx-action@v1 + + - name: Build ARM64 image + run: | + docker build --platform=linux/arm64 -t arm64-env . + + - name: Run ARM64 container + run: | + docker run --platform=linux/arm64 \ + --rm \ + -v "${{ github.workspace }}":/workspace \ + arm64-env \ + make arm64