Skip to content

Commit

Permalink
tmp: fix windows circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaslong committed Feb 10, 2024
1 parent e3e0e6a commit 1893e23
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,20 @@ commands:
command: |
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest -Uri "https://win.rustup.rs/" -OutFile "C:\rustup-init.exe"
& C:\rustup-init.exe -y --default-toolchain "stable-x86_64-pc-windows-msvc" --no-modify-path --profile minimal
& C:\rustup-init.exe -y --default-toolchain "stable-x86_64-pc-windows-msvc" --profile minimal
$env:Path += ";C:\Users\circleci\.cargo\bin"
choco install llvm -y
refreshenv
$env:Path += ";C:\Users\circleci\.cargo\bin"
rustc -Vv
rustup target add stable-x86_64-pc-windows-msvc
rustup toolchain list
# rustc -Vv
cargo --version
rustc --version | Out-File -FilePath "rust-version"
# rustc --version | Out-File -FilePath "rust-version"
if (!(Test-Path "Cargo.lock" -PathType Leaf)) {
cargo generate-lockfile
}
cd << parameters.workspace_member >>
cargo check --examples --benches --tests
cargo check --examples --benches --tests --target stable-x86_64-pc-windows-mscv
- save_cache:
paths:
- C:\Users\circleci\.cargo\registry
Expand Down

0 comments on commit 1893e23

Please sign in to comment.