Skip to content

Commit

Permalink
chore: check examples in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wbenny committed Nov 12, 2024
1 parent 14abc27 commit d88e0bc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,21 @@ jobs:

- name: Run build
run: cargo build

#
# It would be better to run `cargo build --examples` but since the Xen
# is not installed in the CI environment, the examples will not compile.
#
examples:
name: cargo check --examples
runs-on: ubuntu-latest
# needs: xen-install
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable

- name: Run check
run: cargo check --examples

0 comments on commit d88e0bc

Please sign in to comment.