Skip to content

Commit 943f805

Browse files
committed
chore: align build options for snapshot test and for normal builds
To leverage cache better. Signed-off-by: KtorZ <[email protected]>
1 parent a831d5a commit 943f805

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/CI.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ on:
1010

1111
env:
1212
CARGO_TERM_COLOR: always
13-
# Disable incremental compilation for faster from-scratch builds
14-
CARGO_INCREMENTAL: 0
15-
CARGO_PROFILE_TEST_DEBUG: 0
16-
CARGO_PROFILE_RELEASE_LTO: true
17-
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1
1813
RUST_CACHE_PATH: |
1914
~/.cargo/bin/
2015
~/.cargo/registry/index/
@@ -185,7 +180,7 @@ jobs:
185180
186181
- name: Build Amaru
187182
run: |
188-
cargo build --locked
183+
cargo test --no-run -p amaru --target x86_64-unknown-linux-gnu
189184
190185
- name: Cache Amaru's ledger.db
191186
id: cache-ledger-db

0 commit comments

Comments
 (0)