Skip to content

Commit 26c5df9

Browse files
.github/workflows/build.yml: add QEMU Q35 to platforms built by CI
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
1 parent 0d00fc3 commit 26c5df9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

+31
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,34 @@ jobs:
159159
path: |
160160
build/coreboot.rom
161161
retention-days: 30
162+
build_q35:
163+
runs-on: ubuntu-22.04
164+
container:
165+
image: coreboot/coreboot-sdk:2023-11-24_2731fa619b
166+
options: --user 1001
167+
strategy:
168+
matrix:
169+
vendor: [ emulation_qemu ]
170+
model: [ x86_q35 ]
171+
payload: [ uefi, uefi_all_menus ]
172+
steps:
173+
- name: Checkout repository
174+
uses: actions/checkout@v4
175+
with:
176+
# Checkout pull request HEAD commit instead of merge commit
177+
# See: https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
178+
ref: ${{ github.event.pull_request.head.sha }}
179+
# Fetch complete history
180+
fetch-depth: 0
181+
- name: Build Dasharo
182+
run: |
183+
cp configs/config.${{ matrix.vendor }}_${{ matrix.model }}_${{ matrix.payload }} .config
184+
make olddefconfig
185+
make
186+
- name: Save artifacts
187+
uses: actions/upload-artifact@v4
188+
with:
189+
name: "dasharo-${{ matrix.vendor }}-${{ matrix.model }}-${{ matrix.payload }}"
190+
path: |
191+
build/coreboot.rom
192+
retention-days: 30

0 commit comments

Comments
 (0)