Skip to content

Commit

Permalink
.github/workflows/build.yml: add OptiPlex to build CI
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Lewiński <[email protected]>
  • Loading branch information
filipleple committed Jul 31, 2024
1 parent f48831d commit 903736a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,38 @@ jobs:
path: |
build/coreboot.rom
retention-days: 30
build_optiplex:
runs-on: ubuntu-22.04
container:
image: coreboot/coreboot-sdk:2023-11-24_2731fa619b
options: --user 1001
strategy:
matrix:
vendor: [ dell ]
model: [ optiplex_9010_sff_uefi ]
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: Checkout all submodules
run: git submodule update --init --recursive --checkout
- name: Build Dasharo
run: |
cp configs/config.${{ matrix.vendor }}_${{ matrix.model }} .config
make olddefconfig
make
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: "dasharo-${{ matrix.vendor }}-${{ matrix.model }}"
path: |
build/coreboot.rom
retention-days: 30
build_msi:
runs-on: ubuntu-22.04
container:
Expand Down

0 comments on commit 903736a

Please sign in to comment.