Skip to content

Commit cb29257

Browse files
ryanbreenclaude
andcommitted
Fix CI disk image build to avoid GTK error
- Change from 'cargo run' to 'cargo build' to avoid running QEMU during build - Add step to copy disk image to expected location for QEMU run - This prevents GTK initialization failed error in CI environment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3d3b370 commit cb29257

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/isolation-syscall.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ jobs:
3737
run: cargo build --release --features testing
3838

3939
- name: Build disk image
40-
run: cargo run --release --bin qemu-uefi --features testing
40+
run: |
41+
cargo build --release --bin qemu-uefi --features testing
42+
# Copy disk image to expected location
43+
mkdir -p target/x86_64-unknown-none/release/
44+
cp $(find target/release/build -name "breenix-uefi.img" -type f | head -1) target/x86_64-unknown-none/release/breenix-uefi.img
4145
4246
- name: Run kernel and capture logs
4347
run: |

0 commit comments

Comments
 (0)