2 Commits
Author SHA1 Message Date
fristyagent 7b2a67fa80 Merge pull request 'ci: cache the Windows cargo build and check arm64 in debug' (#8) from ci/speed-up-cli-jobs into main
CI / CLI (push) Successful in 13s
CI / Docker image (push) Successful in 14s
CI / Server (push) Successful in 25s
Development image / Development image (push) Successful in 27s
CI / CLI (windows) (push) Successful in 1m11s
CI / CLI (linux-arm64, static) (push) Successful in 2m25s
2026-11-11 17:55:25 +03:00
fristy e302e80cc9 ci: cache the Windows cargo build and check arm64 in debug
CI / CLI (pull_request) Successful in 15s
CI / Server (pull_request) Successful in 26s
CI / CLI (windows) (pull_request) Successful in 2m3s
CI / Docker image (pull_request) Successful in 13s
CI / CLI (linux-arm64, static) (pull_request) Successful in 2m30s
Add the cargo cache to the CI Windows job and the release Windows CLI job, and build the arm64 CLI in debug mode for CI so the matrix job stops dominating the run.
2026-11-11 17:48:42 +03:00
2 changed files with 16 additions and 6 deletions

No files matched your search

+14 -3
View File
@@ -63,6 +63,17 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Cache cargo
uses: actions/cache@v6
with:
path: |
~/.cargo/registry
~/.cargo/git
cli/target
key: ${{ runner.os }}-cargo-check-${{ hashFiles('cli/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-check-
- name: Install Rust
shell: powershell
run: |
@@ -141,10 +152,10 @@ jobs:
~/.cargo/registry
~/.cargo/git
cli/target
key: ${{ runner.os }}-cargo-arm64-${{ hashFiles('cli/Cargo.lock') }}
key: ${{ runner.os }}-cargo-arm64-check-${{ hashFiles('cli/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-arm64-
${{ runner.os }}-cargo-arm64-check-
- name: Cross-compile for arm64
working-directory: cli
run: cargo zigbuild --release --target aarch64-unknown-linux-musl --no-default-features
run: cargo zigbuild --target aarch64-unknown-linux-musl --no-default-features
+2 -3
View File
@@ -74,7 +74,6 @@ jobs:
- uses: actions/checkout@v7
- name: Cache cargo
if: matrix.os != 'windows-latest'
uses: actions/cache@v6
with:
path: |
@@ -194,9 +193,9 @@ jobs:
~/.cargo/registry
~/.cargo/git
cli/target
key: ${{ runner.os }}-cargo-arm64-${{ hashFiles('cli/Cargo.lock') }}
key: ${{ runner.os }}-cargo-arm64-release-${{ hashFiles('cli/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-arm64-
${{ runner.os }}-cargo-arm64-release-
- name: Stamp the version
env: