Skip to content

Commit 0d888e8

Browse files
committed
github: update workflow to build libkrun from source
Signed-off-by: Jake Correnti <[email protected]>
1 parent 7b66479 commit 0d888e8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/unit_tests-aarch64-darwin.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,16 @@ jobs:
1919
uses: Homebrew/actions/setup-homebrew@master
2020

2121
- name: Install dependencies
22-
run: brew tap slp/krunkit && brew install virglrenderer clang-format libkrun-efi
22+
run: brew tap slp/krunkit && brew install virglrenderer clang-format
23+
24+
- name: Clone libkrun source
25+
run: git clone https://www.github.com/containers/libkrun.git ~/libkrun
26+
27+
- name: Build libkrun source
28+
run: cd ~/libkrun && make EFI=1 NET=1 BLK=1 GPU=1 && sudo make EFI=1 NET=1 BLK=1 GPU=1 install && cd ~/
2329

2430
- name: Build
25-
run: cargo build --release --verbose
31+
run: make LIBKRUN_EFI=/usr/local/lib/libkrun-efi.dylib
2632

2733
- name: Test
2834
run: cargo test --release --verbose -- --show-output

0 commit comments

Comments
 (0)