Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ebd6306

Browse files
committed
Add CI test for no libm on the host
1 parent 3689d11 commit ebd6306

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ jobs:
102102
cargo apk build -p example-runner-wgpu --lib --features use-installed-tools --no-default-features
103103
echo "::endgroup::"
104104
105+
- name: Ensure libm is not getting into the host build (https://github.com/EmbarkStudios/rust-gpu/issues/1121)
106+
run: |
107+
LIBM_MATCHES=$(cargo tree -e features -p spirv-std | grep --count libm)
108+
if [ "$LIBM_MATCHES" != "" ]; then echo "Found libm in dependency tree"; exit 1; fi
109+
105110
# This just allows us to branch protect on this one job rather needing to change
106111
# it if the test matrix changes
107112
test_success:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /