From 98511809f1828d12a7affcacf7a8aa52d06aa183 Mon Sep 17 00:00:00 2001 From: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> Date: Sun, 15 May 2022 12:46:55 +0900 Subject: [PATCH] chore(action): also run build on aarch64 --- .github/workflows/build.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c448cb72a..d1cae54a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,11 +9,22 @@ on: - main jobs: - build: + build-amd64: + runs-on: ubuntu-20.04 + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: build on amd64 + run: make modules -j$(nproc) + build-aarch64: runs-on: ubuntu-20.04 steps: - name: Checkout repository uses: actions/checkout@v3 - - - name: Build - run: make modules -j$(nproc) + - uses: uraimo/run-on-arch-action@v2 + name: build on aarch64 + with: + arch: aarch64 + distro: ubuntu20.04 + githubToken: ${{ github.token }} + run: make modules -j$(nproc)