File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ builder-src:
3636 RUN --no-cache echo "Cache Disabled"
3737 RUN rm -rf *
3838
39-
4039 # Cached copy of the source we build.
4140 DO +COPY_SRC
4241
5049
5150 DO rust-ci+EXECUTE --cmd = "/scripts/std_checks.py"
5251
53- # build : Build crates.
54- build :
52+ # base- build : Build crates.
53+ base- build :
5554 FROM +builder-src
5655
5756 DO rust-ci+EXECUTE \
@@ -68,6 +67,11 @@ build:
6867
6968 SAVE ARTIFACT target/doc doc
7069
70+ build :
71+ BUILD +base-build
72+ BUILD ./cbork/+cbork-build
73+ BUILD ./c509-certificate/+c509-wasm-build
74+
7175# build-src-check: Check for any caching issues with the source we are building against.
7276check-builder-src-cache :
7377 FROM +builder
Original file line number Diff line number Diff line change @@ -6,16 +6,15 @@ IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust::v3.2.23 AS rust-ci
66IMPORT .. AS rust-local
77IMPORT ../.. AS repo
88
9- # build -wasm: Build wasm binaries for browser integration.
9+ # c509 -wasm-build : Build wasm binaries for browser integration.
1010# TODO:
1111# - Create a `test` target which Executes tests for browsers (chrome/firefox) and also nodejs
1212# with the built wasm from this target.
1313# - Create a publish target which can publish the library to NPM for both Web and NodeJS.
1414# - Create a simple example web app and nodejs app which uses the library, and can be used to
1515# test it after publishing.
16- build-wasm :
17- FROM rust-local+build
18- RUN --no-cache echo "Cache Disabled"
16+ c509-wasm-build :
17+ FROM rust-local+base-build
1918
2019 COPY repo+repo-docs/repo/LICENSE-APACHE c509-certificate/.
2120 COPY repo+repo-docs/repo/LICENSE-MIT c509-certificate/.
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ IMPORT .. AS rust-local
77
88# Run build using the most efficient host tooling
99# CI Automated Entry point.
10- build :
11- FROM rust-local+build
12- RUN --no-cache echo "Cache Disabled"
10+ cbork-build :
11+ FROM rust-local+base-build
1312
1413 SAVE ARTIFACT target/release/cbork cbork
You can’t perform that action at this time.
0 commit comments