Skip to content

Commit

Permalink
Merge pull request #466 from hermit-os/prebuilt-demo
Browse files Browse the repository at this point in the history
CI: Run pre-built rusty_demo instead of building upstream
  • Loading branch information
mkroening authored Jan 31, 2024
2 parents dc6b01e + 9c0cacf commit 360b613
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,9 @@ jobs:
- name: Run images
run: |
cargo run -- -v data/x86_64/hello_world
cargo run -- -v benches_data/rusty_demo
cargo run -- -v data/x86_64/hello_c
rusty_demo:
name: rusty_demo
runs-on: [self-hosted]
steps:
- name: Install NASM
run: |
sudo apt-get update
sudo apt-get install nasm
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
with:
path: uhyve
- uses: actions/checkout@v4
with:
repository: hermitcore/hermit-rs
path: hermit-rs
submodules: true
- name: Build rusty_demo
run: cargo build -Zbuild-std=core,alloc,std,panic_abort -Zbuild-std-features=compiler-builtins-mem --target x86_64-unknown-hermit --package rusty_demo
working-directory: hermit-rs
- name: Run rusty_demo
run: RUST_LOG=debug cargo run -- --verbose ../hermit-rs/target/x86_64-unknown-hermit/debug/rusty_demo
working-directory: uhyve
- name: Run rusty_demo
run: RUST_LOG=debug cargo run --release -- --verbose ../hermit-rs/target/x86_64-unknown-hermit/debug/rusty_demo
working-directory: uhyve

fmt:
name: Format
runs-on: ubuntu-latest
Expand Down

0 comments on commit 360b613

Please sign in to comment.