Skip to content

Commit b082ccc

Browse files
committed
test ci
1 parent c68a4a5 commit b082ccc

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

rust/Earthfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ check:
5252
build:
5353
FROM +builder-src
5454

55-
RUN --no-cache echo "Cache Disabled"
56-
RUN cargo clean
57-
5855
DO rust-ci+EXECUTE \
5956
--cmd="/scripts/std_build.py" \
6057
--args1="--libs=c509-certificate --libs=cardano-blockchain-types --libs=cardano-chain-follower --libs=hermes-ipfs" \
@@ -70,9 +67,6 @@ build:
7067
SAVE ARTIFACT target/doc doc
7168
SAVE ARTIFACT target/release/cbork cbork
7269

73-
RUN ls -la ~/build/target/release
74-
RUN ls -la /tmp/earthly/
75-
7670
# build-src-check: Check for any caching issues with the source we are building against.
7771
check-builder-src-cache:
7872
FROM +builder

rust/c509-certificate/Earthfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ IMPORT ../.. AS repo
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
16+
build-wasm:
17+
FROM rust-local+build
1818

19-
# COPY repo+repo-docs/repo/LICENSE-APACHE c509-certificate/.
20-
# COPY repo+repo-docs/repo/LICENSE-MIT c509-certificate/.
19+
COPY repo+repo-docs/repo/LICENSE-APACHE c509-certificate/.
20+
COPY repo+repo-docs/repo/LICENSE-MIT c509-certificate/.
2121

22-
# # We should be able to use the library in all these places, so build it for them all.
23-
# FOR target IN web nodejs bundler
24-
# RUN wasm-pack build c509-certificate --release --target "$target" --out-dir "pkg/$target"
25-
# END
22+
# We should be able to use the library in all these places, so build it for them all.
23+
FOR target IN web nodejs bundler
24+
RUN wasm-pack build c509-certificate --release --target "$target" --out-dir "pkg/$target"
25+
END
2626

27-
# SAVE ARTIFACT ./c509-certificate/pkg /pkg
27+
SAVE ARTIFACT ./c509-certificate/pkg /pkg
2828

2929
# js-wasm-package-locally : Generate the wasm package and save it locally
3030
js-wasm-package-locally:

rust/cbork/Earthfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +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
10+
build:
11+
FROM rust-local+build
1212

13-
# SAVE ARTIFACT target/release/cbork cbork
13+
SAVE ARTIFACT target/release/cbork cbork

0 commit comments

Comments
 (0)