From 378fd4b21aab6d390f3a1c1817d53c422ad00a62 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Mon, 30 Nov 2020 15:42:32 -0800 Subject: [PATCH] windows ci: try moving rustup stuff to non-bash shell (#225) --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07df901b3..2a2a50127 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,11 +23,15 @@ jobs: if: matrix.os == 'windows-latest' - name: Install llvm-nm (Windows) - shell: bash run: | rustup update stable rustup default stable rustup component add llvm-tools-preview + if: matrix.os == 'windows-latest' + + - name: Register llvm-nm in environment (Windows) + shell: bash + run: | echo "WASM_NM=$(rustc --print sysroot|sed 's|C:|/c|'|sed 's|\\|/|g')/lib/rustlib/x86_64-pc-windows-msvc/bin/llvm-nm.exe" >> $GITHUB_ENV if: matrix.os == 'windows-latest'