Fix CI check

This commit is contained in:
Fredrik Fornwall 2024-02-26 12:58:42 +01:00
parent 0cea2564ea
commit 6797b679bf
No known key found for this signature in database

View File

@ -104,7 +104,7 @@ jobs:
- name: Ensure libm is not getting into the host build (https://github.com/EmbarkStudios/rust-gpu/issues/1121)
run: |
LIBM_MATCHES=$(cargo tree -e features -p spirv-std | grep --count libm)
LIBM_MATCHES=$(cargo tree -e features -p spirv-std | grep --count libm || true)
if [ "$LIBM_MATCHES" != "" ]; then echo "Found libm in dependency tree"; exit 1; fi
# This just allows us to branch protect on this one job rather needing to change