Skip to content

Commit

Permalink
tweak CI cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Oct 16, 2024
1 parent 5fb8b9a commit b81fc94
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/nopanic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
with:
# We need Nightly for the rust-std component for wasm32-wasip2
toolchain: nightly-2024-10-14
components: rust-src
- name: Install precompiled cross
run: |
VERSION=v0.2.5
Expand All @@ -84,10 +85,13 @@ jobs:
env:
RUSTFLAGS: -Dwarnings --cfg getrandom_backend="rndr"
run: cross build --release --target=aarch64-unknown-linux-gnu
- run: ls target/
- run: ls target/aarch64-unknown-linux-gnu/release
- name: Check (wasi.rs, preview 2)
run: ret=$(grep panic target/aarch64-unknown-linux-gnu/release/getrandom_wrapper.wasm; echo $?); [ $ret -eq 1 ]
- name: Check (rndr.rs)
run: ret=$(grep panic target/aarch64-unknown-linux-gnu/release/getrandom_wrapper.so; echo $?); [ $ret -eq 1 ]

- name: Build (getrandom.rs)
run: cross build --release --target=x86_64-unknown-freebsd
- name: Check (getrandom.rs)
run: ret=$(grep panic target/x86_64-unknown-freebsd/release/getrandom_wrapper.so; echo $?); [ $ret -eq 1 ]

macos:
name: macOS
Expand Down

0 comments on commit b81fc94

Please sign in to comment.