build: Extend x86-64 GitHub action to AMD runner

Use the matrix to add a build runnind on the AMD variant of the garm
runner.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford 2024-02-22 12:26:41 +00:00
parent 6930370a03
commit 84a6da5e93

View File

@ -3,9 +3,12 @@ on: [pull_request, create]
jobs:
build:
strategy:
matrix:
runner: ["garm-jammy", "garm-jammy-amd"]
if: github.event_name == 'pull_request'
name: Tests (x86-64)
runs-on: garm-jammy
runs-on: ${{ matrix.runner }}
steps:
- name: Code checkout
uses: actions/checkout@v4