Skip to content

Commit 56e3531

Browse files
committed
Fix AMDSEV CI binary build prerequisites
1 parent b53d0df commit 56e3531

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/amdsev-initrd-test.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,22 @@ jobs:
2828
runs-on: ubuntu-latest
2929
timeout-minutes: 90
3030
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)
31+
container:
32+
image: ghcr.io/dojoengine/katana-dev:latest
3133

3234
steps:
3335
- uses: actions/checkout@v4
3436
with:
3537
submodules: recursive
3638

39+
# Workaround for https://github.com/actions/runner-images/issues/6775
40+
- run: git config --global --add safe.directory "*"
41+
3742
- name: Install dependencies
3843
run: |
39-
sudo apt-get update
40-
sudo apt-get install -y \
44+
export DEBIAN_FRONTEND=noninteractive
45+
apt-get update
46+
apt-get install -y \
4147
qemu-system-x86 \
4248
cpio \
4349
zstd \
@@ -51,6 +57,9 @@ jobs:
5157
key: ci-${{ github.job }}
5258
shared-key: katana-ci-cache-musl
5359

60+
- name: Build contract artifacts
61+
run: make contracts
62+
5463
- name: Build required VM components
5564
run: |
5665
set -euo pipefail

0 commit comments

Comments
 (0)