File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 5959 rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly
6060 rustup update
6161
62+ - name : Run elf2uki example
63+ run : ./examples/elf2uki/convert_hello_world.sh
64+
6265 - name : Cargo test --all --exclude sgxs-loaders
6366 run : cargo test --verbose --locked --all --exclude sgxs-loaders --exclude async-usercalls && [ "$(echo $(nm -D target/debug/sgx-detect|grep __vdso_sgx_enter_enclave))" = "w __vdso_sgx_enter_enclave" ]
6467
@@ -135,5 +138,3 @@ jobs:
135138 - name : snmalloc correntness test
136139 run : cd ./examples/mem-correctness-test && cargo run
137140
138- - name : Run elf2uki example
139- run : ./examples/elf2uki/convert_hello_world.sh
Original file line number Diff line number Diff line change @@ -7,11 +7,20 @@ app_dir="$source_dir/hello_world"
77
88pushd " $app_dir "
99# builds statically linked bin for `musl`
10- cargo -q build --release
10+ cargo build --release -v
1111popd
1212
13+ env
14+ rustc --version --verbose
15+ find . -name hello_world
16+ ls " $app_dir "
17+ ls " $source_dir "
18+ ls " $app_dir /target"
19+ ls " $app_dir /target/x86_64-unknown-linux-musl/"
20+ ls " $app_dir /target/x86_64-unknown-linux-musl/release"
21+
1322# build UKI and write it to `/dev/null`
14- cargo -q run -p elf2uki -- \
23+ cargo run -p elf2uki -v -- \
1524 --app " $app_dir /target/x86_64-unknown-linux-musl/release/hello_world" \
1625 --cmdline " console=ttyS0 earlyprintk=serial" \
1726 --output /dev/null
You can’t perform that action at this time.
0 commit comments