]> git.proxmox.com Git - wasi-libc.git/blobdiff - .github/workflows/main.yml
windows ci: try moving rustup stuff to non-bash shell (#225)
[wasi-libc.git] / .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'