mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
Fix GitHub CI feature flag issue
This commit is contained in:
parent
67210fbb10
commit
9cd5b1bcc3
1 changed files with 2 additions and 6 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -17,15 +17,13 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install latest stable Rust
|
- name: Install latest stable Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
- name: Install dependencies
|
|
||||||
run: sudo apt-get update -y && sudo apt-get install libhwloc-dev -y
|
|
||||||
- name: Setup Rust dependency caching
|
- name: Setup Rust dependency caching
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cargo build --verbose -p aquatic_udp --features "cpu-pinning"
|
cargo build --verbose -p aquatic_udp
|
||||||
cargo build --verbose -p aquatic_http
|
cargo build --verbose -p aquatic_http
|
||||||
cargo build --verbose -p aquatic_ws --features "prometheus"
|
cargo build --verbose -p aquatic_ws
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
@ -46,8 +44,6 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install latest stable Rust
|
- name: Install latest stable Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
- name: Install dependencies
|
|
||||||
run: sudo apt-get update -y && sudo apt-get install libhwloc-dev -y
|
|
||||||
- name: Setup Rust dependency caching
|
- name: Setup Rust dependency caching
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue