File tree Expand file tree Collapse file tree 7 files changed +45
-13
lines changed Expand file tree Collapse file tree 7 files changed +45
-13
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,13 @@ inherits = "dev"
15
15
debug = 0
16
16
opt-level = 0
17
17
debug-assertions = true
18
- codegen-units = 16
19
- incremental = false
18
+ codegen-units = 32
19
+ incremental = true
20
20
rpath = false
21
21
lto = false
22
22
panic = ' unwind'
23
23
overflow-checks = true
24
+
25
+ [net ]
26
+ git-fetch-with-cli = true
27
+ parallel = true
Original file line number Diff line number Diff line change 9
9
toolchain :
10
10
description : Rust toolchain version to install
11
11
required : true
12
- default : 1.79 .0
12
+ default : 1.81 .0
13
13
cache :
14
14
description : Use sscache
15
15
required : false
Original file line number Diff line number Diff line change @@ -23,9 +23,38 @@ concurrency:
23
23
cancel-in-progress : true
24
24
25
25
jobs :
26
+ install-deps :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+
31
+ - name : Install Rust
32
+ uses : ./.github/actions/setup-rust
33
+ with :
34
+ toolchain : ${{ env.RUST_NIGHTLY_VERSION }}
35
+ cache : true
36
+
37
+ - name : Install nextest
38
+ uses : taiki-e/cache-cargo-install-action@v2
39
+ with :
40
+ tool : cargo-nextest
41
+ locked : true
42
+
43
+ - name : Install dependencies
44
+ run : cargo fetch
45
+
26
46
compile :
27
- name : Compile packages
47
+ needs : install-deps
48
+ name : Compile ${{ matrix.package }}
28
49
runs-on : ubuntu-latest
50
+ strategy :
51
+ fail-fast : false
52
+ matrix :
53
+ package :
54
+ - fuel-streams
55
+ - fuel-streams-core
56
+ - fuel-streams-macros
57
+ - fuel-streams-publisher
29
58
steps :
30
59
- uses : actions/checkout@v4
31
60
34
63
with :
35
64
toolchain : ${{ env.RUST_NIGHTLY_VERSION }}
36
65
37
- - name : Compile all packages
38
- run : cargo build --profile ci --workspace
66
+ - name : Compile package
67
+ run : cargo build --profile ci --package ${{ matrix.package }}
39
68
40
69
test :
41
70
needs : compile
82
111
run : make stop/nats
83
112
84
113
build :
85
- # needs:
86
- # - cargo-verifications
114
+ needs : test
87
115
name : Build ${{ matrix.package }} for ${{ matrix.platform.target }}
88
116
runs-on : ${{ matrix.platform.os }}
89
117
strategy :
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ concurrency:
14
14
env :
15
15
CARGO_TERM_COLOR : always
16
16
CLICOLOR : 1
17
- RUST_VERSION : 1.79 .0
17
+ RUST_VERSION : 1.81 .0
18
18
RUST_NIGHTLY_VERSION : nightly-2024-11-06
19
19
20
20
jobs :
Original file line number Diff line number Diff line change 7
7
8
8
env :
9
9
CI : true
10
- RUST_VERSION : 1.79 .0
10
+ RUST_VERSION : 1.81 .0
11
11
12
12
concurrency :
13
13
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ defaults:
22
22
env :
23
23
# Prevents cargo from complaining about unstable features
24
24
RUSTC_BOOTSTRAP : 1
25
- RUST_VERSION : 1.79 .0
25
+ RUST_VERSION : 1.81 .0
26
26
PR_TITLE : " chore(deps): weekly `cargo update`"
27
27
PR_MESSAGE : |
28
28
Automation to keep dependencies in `Cargo.lock` current.
Original file line number Diff line number Diff line change @@ -244,10 +244,10 @@ test-watch:
244
244
245
245
test :
246
246
@if [ " $( TEST_PROJECT) " = " all" ]; then \
247
- cargo nextest run --profile $(CARGO_PROFILE ) --workspace --color always --locked && \
247
+ cargo nextest run --cargo- profile $(CARGO_PROFILE ) --workspace --color always --locked && \
248
248
cargo test --profile $(CARGO_PROFILE ) --doc --workspace; \
249
249
else \
250
- cargo nextest run --profile $(CARGO_PROFILE ) -p $(TEST_PROJECT ) --color always --locked && \
250
+ cargo nextest run --cargo- profile $(CARGO_PROFILE ) -p $(TEST_PROJECT ) --color always --locked && \
251
251
cargo test --profile $(CARGO_PROFILE ) --doc -p $(TEST_PROJECT ) ; \
252
252
fi
253
253
You can’t perform that action at this time.
0 commit comments