Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bkioshn committed Dec 23, 2024
1 parent c68a4a5 commit b082ccc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
6 changes: 0 additions & 6 deletions rust/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ check:
build:
FROM +builder-src

RUN --no-cache echo "Cache Disabled"
RUN cargo clean

DO rust-ci+EXECUTE \
--cmd="/scripts/std_build.py" \
--args1="--libs=c509-certificate --libs=cardano-blockchain-types --libs=cardano-chain-follower --libs=hermes-ipfs" \
Expand All @@ -70,9 +67,6 @@ build:
SAVE ARTIFACT target/doc doc
SAVE ARTIFACT target/release/cbork cbork

RUN ls -la ~/build/target/release
RUN ls -la /tmp/earthly/

# build-src-check: Check for any caching issues with the source we are building against.
check-builder-src-cache:
FROM +builder
Expand Down
18 changes: 9 additions & 9 deletions rust/c509-certificate/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ IMPORT ../.. AS repo
# - Create a publish target which can publish the library to NPM for both Web and NodeJS.
# - Create a simple example web app and nodejs app which uses the library, and can be used to
# test it after publishing.
# build-wasm:
# FROM rust-local+build
build-wasm:
FROM rust-local+build

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

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

# SAVE ARTIFACT ./c509-certificate/pkg /pkg
SAVE ARTIFACT ./c509-certificate/pkg /pkg

# js-wasm-package-locally : Generate the wasm package and save it locally
js-wasm-package-locally:
Expand Down
6 changes: 3 additions & 3 deletions rust/cbork/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IMPORT .. AS rust-local

# Run build using the most efficient host tooling
# CI Automated Entry point.
# build:
# FROM rust-local+build
build:
FROM rust-local+build

# SAVE ARTIFACT target/release/cbork cbork
SAVE ARTIFACT target/release/cbork cbork

0 comments on commit b082ccc

Please sign in to comment.