File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ jobs:
81
81
echo 'export RUST_MIN_STACK=$(($1 * 1024)); shift' >> ulimit-s
82
82
echo 'exec "$@"' >> ulimit-s
83
83
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`
85
85
env BLST_TEST_NO_STD= \
86
86
CARGO_TARGET_${triplet}_RUNNER="bash ulimit-s $stack_size" \
87
87
cargo test --release
88
- if [ `uname -s` = "Linux" ]; then
88
+ if [ $RUNNER_OS = "Linux" ]; then
89
89
echo '--- test wasm32-wasip1'
90
90
echo
91
91
rustup target add wasm32-wasip1
@@ -109,8 +109,8 @@ jobs:
109
109
echo '--- dry-run publish'
110
110
echo
111
111
./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
114
114
echo '--- test x86_64-apple-darwin'
115
115
echo
116
116
rustup target add x86_64-apple-darwin
You can’t perform that action at this time.
0 commit comments