Compare commits
2
Commits
beaf2d8844
...
7b2a67fa80
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b2a67fa80 | ||
|
|
e302e80cc9
|
No files matched your search
+14
-3
@@ -63,6 +63,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- 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
|
- name: Install Rust
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
@@ -141,10 +152,10 @@ jobs:
|
|||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
cli/target
|
cli/target
|
||||||
key: ${{ runner.os }}-cargo-arm64-${{ hashFiles('cli/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-arm64-check-${{ hashFiles('cli/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-cargo-arm64-
|
${{ runner.os }}-cargo-arm64-check-
|
||||||
|
|
||||||
- name: Cross-compile for arm64
|
- name: Cross-compile for arm64
|
||||||
working-directory: cli
|
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
|
||||||
@@ -74,7 +74,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
if: matrix.os != 'windows-latest'
|
|
||||||
uses: actions/cache@v6
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -194,9 +193,9 @@ jobs:
|
|||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
cli/target
|
cli/target
|
||||||
key: ${{ runner.os }}-cargo-arm64-${{ hashFiles('cli/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-arm64-release-${{ hashFiles('cli/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-cargo-arm64-
|
${{ runner.os }}-cargo-arm64-release-
|
||||||
|
|
||||||
- name: Stamp the version
|
- name: Stamp the version
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user