From 7fa8de3696f7d548e7bb14e65f1f2f4cb99717fb Mon Sep 17 00:00:00 2001 From: James Mayclin Date: Tue, 13 Jun 2023 00:36:03 +0000 Subject: [PATCH] add crate build check for quic-xdp --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5144065513..bfd2e814af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,9 @@ jobs: # find all child folders in the examples directory # jq -R - raw content is passed in (not json, just strings) # jq -sc - slurp the content into a single object, -c enabled compact + # jq '. += ' adds the s2n-quic-xdp crate to the list of crates we build + # Many of the xdp crates have much more complex build processes, so we + # don't try to build all of them. # output onto a single line, github will fail to parse the multi line. # # the output is echo'd to make debugging easier @@ -59,7 +62,7 @@ jobs: export EXAMPLES=$(find examples/ -maxdepth 1 -mindepth 1 -type d | jq -R | jq -sc) echo "examples=$EXAMPLES" echo "examples=$EXAMPLES" >> $GITHUB_OUTPUT - export CRATES=$(find quic common tools -name *Cargo.toml | jq -R | jq -sc) + export CRATES=$(find quic common tools -name *Cargo.toml | jq -R | jq -sc | jq '. += ["tools/xdp/s2n-quic-xdp/Cargo.toml"]') echo "crates=$CRATES" echo "crates=$CRATES" >> $GITHUB_OUTPUT