mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
CI: build & test: remove docker, install latest stable instead
This commit is contained in:
parent
6214a1bfaf
commit
8490509de9
1 changed files with 20 additions and 10 deletions
30
.github/workflows/cargo-build-and-test.yml
vendored
30
.github/workflows/cargo-build-and-test.yml
vendored
|
|
@ -13,12 +13,16 @@ jobs:
|
|||
build-test-linux:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
container:
|
||||
image: rust:1-bullseye
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install latest stable Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Install dependencies
|
||||
run: apt-get update -y && apt-get install cmake libhwloc-dev -y
|
||||
run: sudo apt-get update -y && sudo apt-get install libhwloc-dev -y
|
||||
- name: Build
|
||||
run: |
|
||||
cargo build --verbose -p aquatic_udp --features "cpu-pinning"
|
||||
|
|
@ -28,10 +32,16 @@ jobs:
|
|||
run: cargo test --verbose --workspace --all-targets
|
||||
|
||||
|
||||
# build-macos:
|
||||
# runs-on: macos-latest
|
||||
# timeout-minutes: 10
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - name: Build
|
||||
# run: cargo build --verbose -p aquatic_udp
|
||||
build-macos:
|
||||
runs-on: macos-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install latest stable Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Build
|
||||
run: cargo build --verbose -p aquatic_udp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue