File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
actions/build-upload-mithril-artifact Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 4
4
build-args :
5
5
description : Arguments to pass to 'cargo build'
6
6
required : false
7
- default : ' '
7
+ default : ' -p mithril-aggregator -p mithril-client -p mithril-common -p mithril-signer -p mithril-stm '
8
8
runs :
9
9
using : " composite"
10
10
steps :
@@ -14,10 +14,10 @@ runs:
14
14
pip3 install toml
15
15
python3 ./.github/workflows/scripts/edit-cargo-toml-version.py -l $(echo ${{ github.sha }} | cut -c1-7)
16
16
17
- - name : Cargo build
17
+ - name : Cargo build - Distribution
18
18
shell : bash
19
19
run : cargo build --release ${{ inputs.build-args }}
20
-
20
+
21
21
- name : Publish Mithril Distribution (${{ runner.os }}-${{ runner.arch }})
22
22
uses : actions/upload-artifact@v3
23
23
with :
Original file line number Diff line number Diff line change 31
31
cache-version : ${{ secrets.CACHE_VERSION }}
32
32
cargo-tools : cargo-deb
33
33
34
+ # We separate the build in 2 steps as we want to avoid side effects with Rust feature unification.
35
+ - name : Cargo build - Tooling
36
+ shell : bash
37
+ run : cargo build --release --workspace --exclude mithril-aggregator --exclude mithril-client --exclude mithril-signer --exclude mithril-stm
38
+
34
39
- name : Build Mithril workspace & publish artifacts
35
40
uses : ./.github/workflows/actions/build-upload-mithril-artifact
36
41
You can’t perform that action at this time.
0 commit comments