File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ jobs:
8181 echo 'export RUST_MIN_STACK=$(($1 * 1024)); shift' >> ulimit-s
8282 echo 'exec "$@"' >> ulimit-s
8383 triplet=`rustc -vV | awk '/host:/ {print $2}' | tr 'a-z-' 'A-Z_'`
84- stack_size=`[ $OSTYPE = "msys " ] && echo 65 || echo 56`
84+ stack_size=`[ $RUNNER_OS = "Windows " ] && echo 65 || echo 56`
8585 env BLST_TEST_NO_STD= \
8686 CARGO_TARGET_${triplet}_RUNNER="bash ulimit-s $stack_size" \
8787 cargo test --release
88- if [ `uname -s` = "Linux" ]; then
88+ if [ $RUNNER_OS = "Linux" ]; then
8989 echo '--- test wasm32-wasip1'
9090 echo
9191 rustup target add wasm32-wasip1
@@ -109,8 +109,8 @@ jobs:
109109 echo '--- dry-run publish'
110110 echo
111111 ./publish.sh --dry-run
112- elif [ `uname -s` = "Darwin " ]; then
113- if [ $HOSTTYPE = "arm64 " ]; then
112+ elif [ $RUNNER_OS = "macOS " ]; then
113+ if [ $RUNNER_ARCH = "ARM64 " ]; then
114114 echo '--- test x86_64-apple-darwin'
115115 echo
116116 rustup target add x86_64-apple-darwin
You can’t perform that action at this time.
0 commit comments