Skip to content

Commit

Permalink
Pin Wasmer version to prevent test failures (#4203)
Browse files Browse the repository at this point in the history
* Try installing specific Wasmer version

* Add missing repositories to `update-checkout-config.json`

* Pin Wasmer to 2.1.1 on Linux
  • Loading branch information
MaxDesiatov authored Feb 3, 2022
1 parent a9e0106 commit 0d66537
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions utils/update_checkout/update-checkout-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
"swift-tools-support-core": "main",
"swiftpm": "main",
"swift-argument-parser": "1.0.1",
"swift-atomics": "1.0.2",
"swift-collections": "1.0.1",
"swift-crypto": "1.1.5",
"swift-driver": "main",
"swift-syntax": "main",
Expand Down
2 changes: 1 addition & 1 deletion utils/webassembly/linux/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ cd $SWIFT_PATH
# FIXME: Wasmer doesn't support linux-aarch64, consider using a different WASI-compatible runtime.
if [ "$(uname -m)" != "aarch64" ]; then
if [ ! -e ~/.wasmer/bin/wasmer ]; then
curl https://get.wasmer.io -sSfL | sh
curl https://get.wasmer.io -sSfL | sh -s "2.1.1"
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion utils/webassembly/macos/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ brew install cmake ninja llvm sccache

# Install latest wasmer
if [ ! -e ~/.wasmer/bin/wasmer ]; then
curl https://get.wasmer.io -sSfL | sh
curl https://get.wasmer.io -sSfL | sh -s "2.1.1"
fi

SOURCE_PATH="$(cd "$(dirname $0)/../../../../" && pwd)"
Expand Down

0 comments on commit 0d66537

Please sign in to comment.