Skip to content

Commit

Permalink
feat: add Bootguard Integration Test
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Walter <[email protected]>
  • Loading branch information
walterchris committed Mar 20, 2024
1 parent 8e176a0 commit ae2b4ae
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- v*
branches:
- main
- feat/addBtGTests
pull_request:
jobs:
build:
Expand Down Expand Up @@ -52,6 +53,41 @@ jobs:
- name: go test
run: go test -v ./pkg/...

integrationBtG:
needs: build
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Download file
run: |
wget "https://download.asrock.com/BIOS/4677/W790%20WS(4.04)ROM.zip"
unzip W790\ WS\(4.04\)ROM.zip
mv W790\ WS\(4.04\).ROM firmware.bin
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: artifacts-amd64
path: ./artifacts

- name: Make artifacts executable
run: chmod +x ./artifacts/*

- name: Check PWD
run: |
pwd
- name: Check Image
run: |
ls -l .
- name: Check FIT
run: |
./artifacts/bg-prov fit-show ./firmware.bin
generateTemplates:
needs: build
runs-on: ubuntu-latest
Expand Down

0 comments on commit ae2b4ae

Please sign in to comment.