Skip to content

Commit

Permalink
add crate build check for quic-xdp
Browse files Browse the repository at this point in the history
  • Loading branch information
jmayclin committed Jun 13, 2023
1 parent 40eb76f commit 7fa8de3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7fa8de3

Please sign in to comment.