diff options
author | Gabriela Moldovan <gabi@torproject.org> | 2024-03-13 15:04:37 +0000 |
---|---|---|
committer | Gabriela Moldovan <gabi@torproject.org> | 2024-03-14 12:27:23 +0000 |
commit | 1f9843bcee478ae16cc766354efa35d899fb2c86 (patch) | |
tree | 68989c1b917291d2734963a2b1e2366c77bc1eec | |
parent | 8392625f59d2a8deff0347b3f50a02a5754db2e8 (diff) | |
download | arti-1f9843bcee478ae16cc766354efa35d899fb2c86.tar.gz arti-1f9843bcee478ae16cc766354efa35d899fb2c86.zip |
CI: Don't build arti with experimental features in rust-latest.
Some experimental features (i.e. `vanguards`) break the shadow
integration tests. Since the examples enable `experimental`, we need
`rust-latest` to build arti using `-p arti`, rather than from the
workspace level (because cargo does feature unification when building
the packages as a workspace).
-rw-r--r-- | .gitlab-ci.yml | 3 | ||||
-rw-r--r-- | tests/shadow/README.md | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 19f375594..1d47a83b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,12 +95,13 @@ rust-latest: image: rust:bookworm script: - rustup show - - cargo build --locked --verbose --target x86_64-unknown-linux-gnu + - cargo check --locked --verbose --target x86_64-unknown-linux-gnu - cargo test --verbose --target x86_64-unknown-linux-gnu - rustup component add clippy - rustup show - cargo clippy --all-features --all-targets -- --cfg ci_arti_stable -D warnings - cargo build --verbose --release -p arti-bench --target x86_64-unknown-linux-gnu + - cargo build --locked --verbose --target x86_64-unknown-linux-gnu -p arti - ./maint/preserve target/x86_64-unknown-linux-gnu/debug/arti target/x86_64-unknown-linux-gnu/release/arti-bench after_script: - cargo clean diff --git a/tests/shadow/README.md b/tests/shadow/README.md index 533d431a9..e7b78c308 100644 --- a/tests/shadow/README.md +++ b/tests/shadow/README.md @@ -37,7 +37,7 @@ locations where [`shadow.yaml`](./shadow.yaml) expects to find them. job `rust-latest` with the invocation: ```shell - $ cargo build --locked --verbose --target x86_64-unknown-linux-gnu + $ cargo build --locked --verbose --target x86_64-unknown-linux-gnu -p arti ``` Once those are installed, you can invoke the [`run.sh`](./run.sh) script from |