vey-daemon: simplify ebpf feature cfg guard #394
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: MacOS-Basic | |
| permissions: { } | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'ansible/**' | |
| - 'doc/**' | |
| - 'sphinx/**' | |
| - 'scripts/**' | |
| branches: | |
| - 'main' | |
| - 'lts/**' | |
| pull_request: | |
| paths-ignore: | |
| - 'ansible/**' | |
| - 'doc/**' | |
| - 'sphinx/**' | |
| - 'scripts/**' | |
| branches: | |
| - 'main' | |
| - 'lts/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v7 | |
| with: | |
| submodules: true | |
| - name: Install stable toolchain | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: clippy | |
| - name: Install dependencies | |
| run: | | |
| brew install capnp jemalloc mimalloc openssl c-ares lua | |
| - name: Cargo build | |
| run: cargo build --features jemalloc,lua55 | |
| - name: Cargo clippy | |
| run: cargo clippy --tests --features jemalloc,lua55 -- --deny warnings | |
| - name: Cargo test | |
| run: cargo test --workspace --features jemalloc,lua55 --exclude vey-journal --exclude vey-reuseport |