]> git.proxmox.com Git - wasi-libc.git/commitdiff
windows ci: try moving rustup stuff to non-bash shell (#225)
authorPat Hickey <phickey@fastly.com>
Mon, 30 Nov 2020 23:42:32 +0000 (15:42 -0800)
committerDan Gohman <dev@sunfishcode.online>
Tue, 1 Dec 2020 00:12:10 +0000 (16:12 -0800)
.github/workflows/main.yml

index 07df901b33c6feb5ee9869458b6d9f30a6857caa..2a2a50127fa07c150c46258535891b5d9618f7f4 100644 (file)
@@ -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'