GHA: enable static check on arm64

This is to add a runner for arm64 to the workflow.

Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
Jianyong Wu 2023-12-01 06:56:23 +00:00 committed by Hyounggyu Choi
parent eeba459a6b
commit a10779bf0b

View File

@ -35,7 +35,6 @@ jobs:
fi fi
build-checks: build-checks:
runs-on: ubuntu-20.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -78,7 +77,18 @@ jobs:
install-libseccomp: yes install-libseccomp: yes
- component: genpolicy - component: genpolicy
component-path: src/tools/genpolicy component-path: src/tools/genpolicy
instance:
- "ubuntu-20.04"
- "arm-no-k8s"
runs-on: ${{ matrix.instance }}
steps: steps:
- name: Adjust a permission for repo
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE $HOME
sudo rm -rf $GITHUB_WORKSPACE/*
if: ${{ matrix.instance == 'arm-no-k8s' }}
- name: Checkout the code - name: Checkout the code
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with: