Skip to content

Commit

Permalink
ci: fix omicron-common job for PRs from forks (#5806)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliana authored May 21, 2024
1 parent ebcc2ac commit 279cb8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/buildomat/jobs/omicron-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#: target = "helios-2.0"
#: rust_toolchain = "1.77.2"
#: output_rules = []
#: skip_clone = true

# Verify that omicron-common builds successfully when used as a dependency
# in an external project. It must not leak anything that requires an external
Expand All @@ -18,10 +17,9 @@ set -o xtrace
cargo --version
rustc --version

cd /tmp
cargo new --lib test-project
cd test-project
cargo add omicron-common \
--git https://github.com/oxidecomputer/omicron.git \
--rev "$GITHUB_SHA"
cargo add omicron-common --path /work/oxidecomputer/omicron/common
cargo check
cargo build --release

0 comments on commit 279cb8c

Please sign in to comment.