mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
try rust cache
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
e86e2113ce
commit
a26b2f7018
1 changed files with 19 additions and 21 deletions
40
.github/workflows/windows.yml
vendored
40
.github/workflows/windows.yml
vendored
|
@ -21,30 +21,28 @@ jobs:
|
||||||
|
|
||||||
- run: Add-Content -Path "$env:GITHUB_ENV" -Value "GITHUB_RUNNER_CPU=$((Get-CimInstance Win32_Processor).Name)"
|
- run: Add-Content -Path "$env:GITHUB_ENV" -Value "GITHUB_RUNNER_CPU=$((Get-CimInstance Win32_Processor).Name)"
|
||||||
|
|
||||||
- run: echo $Env:GITHUB_RUNNER_CPU
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
shared-key: "windows-rust-cache-action-$env:GITHUB_RUNNER_CPU"
|
||||||
|
|
||||||
#- uses: Swatinem/rust-cache@v2
|
- name: download and install zig
|
||||||
# with:
|
run: |
|
||||||
# shared-key: "windows-rust-cache-action-$env:GITHUB_RUNNER_CPU"
|
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\"
|
||||||
|
|
||||||
#- name: download and install zig
|
- name: zig version
|
||||||
# run: |
|
run: zig version
|
||||||
# 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\"
|
|
||||||
|
|
||||||
#- name: zig version
|
- name: set up llvm 13
|
||||||
# run: zig version
|
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: set up llvm 13
|
- name: Build tests release without running. Twice for flakyness.
|
||||||
# run: |
|
run: cargo test --locked --release --no-run || cargo test --locked --release --no-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-gen-llvm
|
||||||
# run: cargo test --locked --release --no-run || cargo test --locked --release --no-run
|
|
||||||
|
|
||||||
#- run: cargo test-gen-llvm
|
- run: cargo test-gen-wasm
|
||||||
|
|
||||||
#- run: cargo test-gen-wasm
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue