CI: build & test: disable macos, don't use sudo

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

View file

@ -18,7 +18,7 @@ jobs:
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 cmake libhwloc-dev -y run: apt-get update -y && 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"
@ -28,10 +28,10 @@ jobs:
run: cargo test --verbose --workspace --all-targets run: cargo test --verbose --workspace --all-targets
build-macos: # build-macos:
runs-on: macos-latest # runs-on: macos-latest
timeout-minutes: 10 # timeout-minutes: 10
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- name: Build # - name: Build
run: cargo build --verbose -p aquatic_udp # run: cargo build --verbose -p aquatic_udp