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: jobs:
build: build:
strategy:
matrix:
runner: ["garm-jammy", "garm-jammy-amd"]
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
name: Tests (x86-64) name: Tests (x86-64)
runs-on: garm-jammy runs-on: ${{ matrix.runner }}
steps: steps:
- name: Code checkout - name: Code checkout
uses: actions/checkout@v4 uses: actions/checkout@v4