mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
CI: build & test: run in docker container
This commit is contained in:
parent
f2d501c327
commit
6093bf8f86
1 changed files with 3 additions and 1 deletions
4
.github/workflows/cargo-build-and-test.yml
vendored
4
.github/workflows/cargo-build-and-test.yml
vendored
|
|
@ -13,10 +13,12 @@ jobs:
|
||||||
build-test-linux:
|
build-test-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
container:
|
||||||
|
image: rust:1-bullseye
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get update -y && sudo apt-get install libhwloc-dev -y
|
run: sudo apt-get update -y && sudo apt-get install cmake libhwloc-dev -y
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cargo build --verbose -p aquatic_udp --features "cpu-pinning"
|
cargo build --verbose -p aquatic_udp --features "cpu-pinning"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue