mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Add just to path on Windows CI
This commit is contained in:
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@@ -177,10 +177,24 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Install Rust (adds cargo/rustc to PATH)
|
||||||
|
- name: Install Rust (stable)
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
targets: x86_64-pc-windows-msvc
|
||||||
|
|
||||||
|
# Use Scoop to install just (reuse your existing scoop setup)
|
||||||
- uses: MinoruSekine/setup-scoop@v4.0.2
|
- uses: MinoruSekine/setup-scoop@v4.0.2
|
||||||
with:
|
with:
|
||||||
buckets: extras
|
buckets: main extras
|
||||||
apps: doxygen plantuml
|
apps: just doxygen plantuml
|
||||||
|
|
||||||
|
# (Paranoid) ensure shims and cargo bin are on PATH for subsequent steps
|
||||||
|
- name: Ensure tools on PATH
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
echo "$env:USERPROFILE\scoop\shims" >> $env:GITHUB_PATH
|
||||||
|
echo "$env:USERPROFILE\.cargo\bin" >> $env:GITHUB_PATH
|
||||||
|
|
||||||
- name: Cache Cargo
|
- name: Cache Cargo
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -193,8 +207,7 @@ jobs:
|
|||||||
restore-keys: windows-cargo-
|
restore-keys: windows-cargo-
|
||||||
|
|
||||||
- name: Build Rust and examples/tools
|
- name: Build Rust and examples/tools
|
||||||
run: |
|
run: just ci-check
|
||||||
just ci-check
|
|
||||||
|
|
||||||
- name: Upload static library
|
- name: Upload static library
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user