mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-17 17:02:42 +00:00
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:
parent
eeba459a6b
commit
a10779bf0b
12
.github/workflows/static-checks.yaml
vendored
12
.github/workflows/static-checks.yaml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user