-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(hermes): Update hermes builds to use new caching rust builders in CI
- Loading branch information
Showing
15 changed files
with
105 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
hermes/crates/cardano-chain-follower/testbed/rust-toolchain.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[toolchain] | ||
channel = "1.75.0" | ||
channel = "1.78" | ||
profile = "default" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
channel = "1.75.0" | ||
channel = "1.78" | ||
profile = "default" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[toolchain] | ||
channel = "1.75.0" | ||
channel = "1.78" | ||
profile = "default" | ||
targets = ["x86_64-unknown-linux-musl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
VERSION 0.7 | ||
VERSION 0.8 | ||
|
||
IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust:fix/improve-rust-builder-sj AS rust-ci | ||
IMPORT ../../wasi AS wasi | ||
IMPORT ../../wasi-hermes-component-adapter AS wasi-hermes-component-adapter | ||
|
||
# build : build the cardano integration test wasm component | ||
build: | ||
DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.11.2+SETUP | ||
DO rust-ci+SETUP | ||
|
||
COPY --dir src . | ||
COPY Cargo.toml Cargo.lock . | ||
COPY ../../wasi+build-rust-bindings/hermes.rs src/hermes.rs | ||
COPY wasi+build-rust-bindings/hermes.rs src/hermes.rs | ||
|
||
DO rust-ci+CARGO --args "build --target wasm32-unknown-unknown --release" \ | ||
--output="wasm32-unknown-unknown/release/cardano_rte_test_component.wasm" | ||
|
||
RUN cargo build --target wasm32-unknown-unknown --release | ||
# RUN cargo build --target wasm32-unknown-unknown --release | ||
|
||
COPY ../../wasi-hermes-component-adapter+build/wasi-hermes-component-adapter.wasm . | ||
COPY wasi-hermes-component-adapter+build/wasi-hermes-component-adapter.wasm . | ||
|
||
RUN wasm-tools component new -o cardano.wasm target/wasm32-unknown-unknown/release/cardano_rte_test_component.wasm --adapt wasi-hermes-component-adapter.wasm | ||
|
||
SAVE ARTIFACT cardano.wasm | ||
|
||
get-local-bindings: | ||
FROM scratch | ||
|
||
COPY ../../wasi+build-rust-bindings/hermes.rs hermes.rs | ||
|
||
SAVE ARTIFACT hermes.rs AS LOCAL src/hermes.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
channel = "1.75.0" | ||
channel = "1.78" | ||
targets = ["wasm32-unknown-unknown"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters