Skip to content

Commit

Permalink
windows ci: try moving rustup stuff to non-bash shell (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Hickey authored and sunfishcode committed Dec 1, 2020
1 parent 424d058 commit 378fd4b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 378fd4b

Please sign in to comment.