Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
myOmikron committed Apr 30, 2024
1 parent cde9521 commit 1ac5c8a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
token: ${{ github.token }}
# Transitive dependency of wasm-bindgen; works around https://github.com/rustwasm/wasm-bindgen/issues/3918
- run: cargo update -p bumpalo --precise 3.14.0
- run: cargo build --workspace --exclude webauthn-authenticator-rs --exclude actix_web --exclude axum --exclude tide
- run: cargo build --workspace --exclude webauthn-authenticator-rs --exclude actix_web --exclude web_authn --exclude tide-server

# Don't run clippy on Windows, we only need to run it on Linux
- if: runner.os != 'windows'
run: cargo clippy --no-deps --workspace --exclude webauthn-authenticator-rs --exclude actix_web --exclude axum --exclude tide --all-targets
run: cargo clippy --no-deps --workspace --exclude webauthn-authenticator-rs --exclude actix_web --exclude web_authn --exclude tide-server --all-targets

- run: cargo test --workspace --exclude webauthn-authenticator-rs --exclude actix_web --exclude axum --exclude tide
- run: cargo test --workspace --exclude webauthn-authenticator-rs --exclude actix_web --exclude web_authn --exclude tide-server

# Some clap errors manifest as panics at runtime. Running tools with
# --help should be enough to find an issue.
Expand Down Expand Up @@ -254,5 +254,11 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: v0.4.2
- if: runner.os == 'windows'
uses: johnwason/vcpkg-action@v4
with:
pkgs: openssl
triplet: x64-windows-static-md
token: ${{ github.token }}

- run: cargo build -p actix_web -p axum -p tide
- run: cargo build -p actix_web -p web_authn -p tide-server

0 comments on commit 1ac5c8a

Please sign in to comment.