CI: build & test: run in docker container

This commit is contained in:
Joakim Frostegård 2022-04-10 22:45:10 +02:00 committed by GitHub
parent f2d501c327
commit 6093bf8f86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"