Skip to content

Commit 92ef0f0

Browse files
committed
fixup: Rust in CI ...
1 parent a0ae9a6 commit 92ef0f0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.evergreen/install-node.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ if [ "$OS" == "Windows_NT" ]; then
1313

1414
curl -sSfLO https://raw.githubusercontent.com/mongodb-js/compass/42e6142ae08be6fec944b80ff6289e6bcd11badf/.evergreen/node-gyp-bug-workaround.sh && bash node-gyp-bug-workaround.sh
1515
else
16+
echo "Setting up Rust"
17+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh /dev/stdin -y
18+
1619
if [ `uname` = Darwin ]; then
1720
export NVM_DIR="$BASEDIR/.nvm"
1821
mkdir -p "${NVM_DIR}"

.evergreen/setup-env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ fi
1919
echo "TERM variable is set to '${TERM:-}'"
2020

2121
if [ "$OS" != "Windows_NT" ]; then
22+
source $HOME/.cargo/env
23+
2224
if [ `uname` = Darwin ]; then
2325
echo "Using clang version:"
2426
(which clang && clang --version)

0 commit comments

Comments
 (0)