@@ -5,9 +5,15 @@ IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust:v3.2.15 AS rust-ci
55COPY_SRC :
66 FUNCTION
77
8- COPY --dir .cargo .config c509-certificate cardano-chain-follower \
9- cbork cbork-abnf-parser cbork-cddl-parser \
10- hermes-ipfs catalyst-voting immutable-ledger .
8+ COPY --keep-ts --dir \
9+ Cargo.toml clippy.toml deny.toml rustfmt.toml \
10+ .cargo .config \
11+ c509-certificate \
12+ cardano-chain-follower \
13+ catalyst-voting \
14+ cbork cbork-abnf-parser cbork-cddl-parser \
15+ hermes-ipfs \
16+ .
1117
1218# builder : Set up our target toolchains, and copy our files.
1319builder :
@@ -45,14 +51,14 @@ build:
4551
4652 DO rust-ci+EXECUTE \
4753 --cmd = "/scripts/std_build.py" \
54+ --args1 = "--libs=c509-certificate --libs=cardano-chain-follower --libs=hermes-ipfs" \
55+ --args2 = "--libs=cbork-cddl-parser --libs=cbork-abnf-parser" \
56+ --args3 = "--libs=catalyst-voting" \
57+ --args4 = "--bins=cbork/cbork" \
58+ --args5 = "--cov_report=$HOME/build/coverage-report.info" \
4859 --output = "release/[^\. /]+" \
49- --args1 = "--libs=c509-certificate" \
50- --args2 = "--libs=cardano-chain-follower" \
51- --args3 = "--libs=cbork-cddl-parser" \
52- --args4 = "--libs=cbork-abnf-parser" \
53- --args5 = "--libs=hermes-ipfs" \
54- --args6 = "--bins=cbork/cbork" \
55- --args7 = "--libs=catalyst-voting" \
60+ --junit = "cat-libs.junit-report.xml" \
61+ --coverage = "cat-libs.coverage.info" \
5662 --docs = "true"
5763
5864 SAVE ARTIFACT target/$TARGETARCH /doc doc
@@ -84,4 +90,4 @@ check-builder-src-cache:
8490# local-ci-run: This step simulates the full CI run for local purposes only.
8591local-ci-run :
8692 BUILD +check
87- BUILD +build
93+ BUILD +build
0 commit comments