Skip to content

Commit

Permalink
.github/workflows/build.yml: add QEMU Q35 to platforms built by CI
Browse files Browse the repository at this point in the history
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
  • Loading branch information
krystian-hebel committed Jun 21, 2024
1 parent 0d00fc3 commit 26c5df9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,34 @@ jobs:
path: |
build/coreboot.rom
retention-days: 30
build_q35:
runs-on: ubuntu-22.04
container:
image: coreboot/coreboot-sdk:2023-11-24_2731fa619b
options: --user 1001
strategy:
matrix:
vendor: [ emulation_qemu ]
model: [ x86_q35 ]
payload: [ uefi, uefi_all_menus ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# Checkout pull request HEAD commit instead of merge commit
# See: https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
ref: ${{ github.event.pull_request.head.sha }}
# Fetch complete history
fetch-depth: 0
- name: Build Dasharo
run: |
cp configs/config.${{ matrix.vendor }}_${{ matrix.model }}_${{ matrix.payload }} .config
make olddefconfig
make
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: "dasharo-${{ matrix.vendor }}-${{ matrix.model }}-${{ matrix.payload }}"
path: |
build/coreboot.rom
retention-days: 30

0 comments on commit 26c5df9

Please sign in to comment.