aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alessandro Ghedini <alessandro@ghedini.me> 2023-09-13 11:28:16 +0100
committerGravatar Alessandro Ghedini <alessandro@ghedini.me> 2023-10-31 17:21:18 +0000
commitf637b77fc4f305bd74d2fa8311a0494d26dfeb4a (patch)
treefdd50ec216db75ba4e83fe894019caa2dfd82f93
parentc7352ad0522ee7f64b5cc9842e89bac753f6dddc (diff)
downloadquiche-f637b77fc4f305bd74d2fa8311a0494d26dfeb4a.tar.gz
quiche-f637b77fc4f305bd74d2fa8311a0494d26dfeb4a.tar.zst
quiche-f637b77fc4f305bd74d2fa8311a0494d26dfeb4a.zip
ci: test both vendored boringssl and boring crate
For now only the "main" quiche CI job tests both features to avoid adding too many new jobs, in the future we might decide to change this. Ref #1614.
-rw-r--r--.github/workflows/stable.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml
index 0d1ed31e..1a6c3b63 100644
--- a/.github/workflows/stable.yml
+++ b/.github/workflows/stable.yml
@@ -9,6 +9,11 @@ env:
jobs:
quiche:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ tls-feature:
+ - "" # default, boringssl-vendored
+ - "boringssl-boring-crate"
# Only run on "pull_request" event for external PRs. This is to avoid
# duplicate builds for PRs created from internal branches.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
@@ -30,7 +35,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
- args: --verbose --all-targets --features=ffi,qlog
+ args: --verbose --all-targets --features=ffi,qlog,${{ matrix.tls-feature }}
# Need to run doc tests separately.
# (https://github.com/rust-lang/cargo/issues/6669)
@@ -38,7 +43,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
- args: --verbose --doc --features=ffi,qlog
+ args: --verbose --doc --features=ffi,qlog,${{ matrix.tls-feature }}
- name: Run cargo package
uses: actions-rs/cargo@v1
@@ -50,13 +55,13 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
- args: --features=ffi,qlog -- -D warnings
+ args: --features=ffi,qlog,${{ matrix.tls-feature }} -- -D warnings
- name: Run cargo clippy on examples
uses: actions-rs/cargo@v1
with:
command: clippy
- args: --examples --features=ffi,qlog -- -D warnings
+ args: --examples --features=ffi,qlog,${{ matrix.tls-feature }} -- -D warnings
- name: Run cargo doc
uses: actions-rs/cargo@v1