Skip to content

Commit

Permalink
.github/workflows/build.yml: Build MinnowBoard in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Żygowski <[email protected]>
  • Loading branch information
miczyg1 committed Jul 25, 2024
1 parent 1472e9b commit f8a10ca
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 @@ -192,6 +192,37 @@ jobs:
path: |
build/coreboot.rom
retention-days: 30
build_mmax:
runs-on: ubuntu-22.04
container:
image: ghcr.io/dasharo/dasharo-sdk:v1.4.0
options: --user 1001
strategy:
matrix:
vendor: [ intel ]
model: [ minnowmax ]
variant: [ , _sb ]
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.variant }} .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

deploy_protectli_adl:
if: startsWith(github.ref, 'refs/tags/protectli_vault_adl')
Expand Down

0 comments on commit f8a10ca

Please sign in to comment.