Commit ec20ccf2 authored by Stefan Lankes's avatar Stefan Lankes Committed by Stefan Lankes
Browse files

test also with LTO support

parent bc1d5d86
......@@ -51,3 +51,5 @@ jobs:
- name: Building release version
run:
cargo build -Z build-std=core,alloc --target x86_64-unknown-hermit-kernel --release
env:
RUSTFLAGS: -Clinker-plugin-lto
......@@ -78,6 +78,8 @@ jobs:
- name: Building release version
run:
cargo build -Z build-std=std,core,alloc,panic_abort --target x86_64-unknown-hermit --release
env:
RUSTFLAGS: -Clinker-plugin-lto
- name: Build loader (unix)
working-directory: loader
run: make
......
......@@ -47,7 +47,7 @@ jobs:
- name: "Test Release Build"
script:
- cd $TRAVIS_BUILD_DIR/rusty-hermit
- cargo build -Z build-std=std,core,alloc,panic_abort --target x86_64-unknown-hermit --release
- RUSTFLAGS="-Clinker-plugin-lto" cargo build -Z build-std=std,core,alloc,panic_abort --target x86_64-unknown-hermit --release
- sudo -E sudo -u $USER -E bash -c "HERMIT_VERBOSE=1 $HOME/.cargo/bin/uhyve target/x86_64-unknown-hermit/release/rusty_demo"
- sudo -E sudo -u $USER -E bash -c "HERMIT_VERBOSE=1 HERMIT_CPUS=2 $HOME/.cargo/bin/uhyve target/x86_64-unknown-hermit/release/rusty_demo"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment