Skip to content

Commit

Permalink
Merge branch 'main' into tokio-console
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Nov 1, 2024
2 parents ff99fb2 + 8b2d7f1 commit 66b59e0
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,23 @@ jobs:
uses: taiki-e/install-action@cross

- name: Build
run: ${{ matrix.features.env }} cross build ${{ matrix.features.flags }} --all-targets --release --target=${{ matrix.target }}
run: cross build --all-features --release --target=${{ matrix.target }}

build-examples:
name: Build Examples
runs-on: ubuntu-latest
needs: [lints, docs]
env:
RUSTFLAGS: "-D warnings"
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Build
run: cargo build --examples --all-features --release

test:
name: Test Suite
Expand Down Expand Up @@ -218,7 +234,7 @@ jobs:
runs-on: ubuntu-latest
environment: production
if: github.event_name == 'release'
needs: [build, test, msrv, lints, docs, leaks, semver, min-versions, min-versions-msrv]
needs: [build, build-examples, test, msrv, lints, docs, leaks, semver, min-versions, min-versions-msrv]
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down

0 comments on commit 66b59e0

Please sign in to comment.