diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5cc9213175..92d9bbe67d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -19,24 +19,32 @@ jobs: steps: - uses: actions/checkout@v2 - - name: download and install zig - run: | - curl.exe --output "C:\zig-windows-x86_64-0.9.1.zip" --url https://ziglang.org/download/0.9.1/zig-windows-x86_64-0.9.1.zip - cd C:\ - 7z x zig-windows-x86_64-0.9.1.zip - Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.1\" + - run: Add-Content -Path "$env:GITHUB_ENV" -Value "GITHUB_RUNNER_CPU=$((Get-CimInstance Win32_Processor).Name)" - - name: zig version - run: zig version + - run: echo $Env:GITHUB_RUNNER_CPU - - name: set up llvm 13 - run: | - curl.exe -L -O https://github.com/roc-lang/llvm-package-windows/releases/download/v13.0.1/LLVM-13.0.1-win64.7z - 7z x LLVM-13.0.1-win64.7z -oC:\LLVM-13.0.1-win64 + #- uses: Swatinem/rust-cache@v2 + # with: + # shared-key: "windows-rust-cache-action-$env:GITHUB_RUNNER_CPU" - - name: Build tests release without running. Twice for flakyness. - run: cargo test --locked --release --no-run || cargo test --locked --release --no-run + #- name: download and install zig + # run: | + # curl.exe --output "C:\zig-windows-x86_64-0.9.1.zip" --url https://ziglang.org/download/0.9.1/zig-windows-x86_64-0.9.1.zip + # cd C:\ + # 7z x zig-windows-x86_64-0.9.1.zip + # Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.1\" - - run: cargo test-gen-llvm + #- name: zig version + # run: zig version - - run: cargo test-gen-wasm + #- name: set up llvm 13 + # run: | + # curl.exe -L -O https://github.com/roc-lang/llvm-package-windows/releases/download/v13.0.1/LLVM-13.0.1-win64.7z + # 7z x LLVM-13.0.1-win64.7z -oC:\LLVM-13.0.1-win64 + + #- name: Build tests release without running. Twice for flakyness. + # run: cargo test --locked --release --no-run || cargo test --locked --release --no-run + + #- run: cargo test-gen-llvm + + #- run: cargo test-gen-wasm