From b27c12130effc88052d83ec6200e25fd69e64198 Mon Sep 17 00:00:00 2001 From: Stefano Cunego <93382903+kukkok3@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:56:13 +0200 Subject: [PATCH] feat: Add earthfile for vit-testing | NPG-0000 (#576) # Description Adding a earthfile to vit-testing. This is needed to enable the build of backend artifacts in the catalyst-artifacts repo ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functionality) ## How Has This Been Tested? Runned on my local machine ## Checklist - [x ] My code follows the style guidelines of this project - [x ] I have performed a self-review of my code - [x ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --- src/vit-testing/Earthfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/vit-testing/Earthfile diff --git a/src/vit-testing/Earthfile b/src/vit-testing/Earthfile new file mode 100644 index 0000000000..cc6399be51 --- /dev/null +++ b/src/vit-testing/Earthfile @@ -0,0 +1,12 @@ +VERSION 0.7 + +build: + FROM ../../+builder + RUN cargo build --locked --release -p iapyx -p valgrind -p vitup + + # Store the artifact + SAVE ARTIFACT /src/target/release/iapyx iapyx + SAVE ARTIFACT /src/target/release/iapyx-load iapyx-load + SAVE ARTIFACT /src/target/release/valgrind valgrind + SAVE ARTIFACT /src/target/release/vitup vitup + SAVE IMAGE --cache-hint \ No newline at end of file