Skip to content

Commit

Permalink
fix: Disable debug information in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Feb 22, 2024
1 parent 7ebdb3c commit ec6efa1
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
schedule:
- cron: "0 6 * * 1-5"

env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
CARGO_PROFILE_DEV_DEBUG: false

jobs:
check:
name: Run checks on ${{ matrix.os }}
Expand All @@ -41,18 +45,12 @@ jobs:
- name: Code format check
run: cargo fmt --check
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

- name: Clippy
run: cargo clippy --all-targets -- --deny warnings
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

- name: Clippy unstable targets
run: cargo clippy --all-targets --features unstable -- --deny warnings
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

- name: Clippy all features
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' }}
Expand All @@ -64,8 +62,6 @@ jobs:

- name: Perform no_std checks
run: cargo check --bin nostd_check --target x86_64-unknown-none --manifest-path ci/nostd-check/Cargo.toml
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

test:
name: Run tests on ${{ matrix.os }}
Expand Down Expand Up @@ -95,14 +91,12 @@ jobs:
- name: Run tests
run: cargo nextest run --exclude zenoh-examples --exclude zenoh-plugin-example --workspace
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
ASYNC_STD_THREAD_COUNT: 4

- name: Run tests with SHM
if: ${{ matrix.os == 'ubuntu-latest' }}
run: cargo nextest run -F shared-memory -F transport_unixpipe -p zenoh-transport
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
ASYNC_STD_THREAD_COUNT: 4

- name: Check for feature leaks
Expand All @@ -112,7 +106,6 @@ jobs:
- name: Run doctests
run: cargo test --doc
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
ASYNC_STD_THREAD_COUNT: 4

# NOTE: In GitHub repository settings, the "Require status checks to pass
Expand Down

0 comments on commit ec6efa1

Please sign in to comment.