Skip to content

Commit e6cba92

Browse files
committed
fixup! .github/workflows/ci.yml: test Windows on ARM.
1 parent 9297110 commit e6cba92

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)