From 44ad2167fb99487c8fb5e37db79d243d1b56c8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Fri, 19 Nov 2021 00:21:51 +0100 Subject: [PATCH] CI: install libhwloc-dev --- .github/actions/test-transfer/entrypoint.sh | 2 +- .github/workflows/cargo-build-and-test.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/test-transfer/entrypoint.sh b/.github/actions/test-transfer/entrypoint.sh index 715d0e5..f9095ea 100755 --- a/.github/actions/test-transfer/entrypoint.sh +++ b/.github/actions/test-transfer/entrypoint.sh @@ -19,7 +19,7 @@ fi ulimit -a $SUDO apt-get update -$SUDO apt-get install -y cmake libssl-dev screen rtorrent mktorrent ssl-cert ca-certificates curl golang +$SUDO apt-get install -y cmake libssl-dev screen rtorrent mktorrent ssl-cert ca-certificates curl golang libhwloc-dev git clone https://github.com/anacrolix/torrent.git gotorrent cd gotorrent diff --git a/.github/workflows/cargo-build-and-test.yml b/.github/workflows/cargo-build-and-test.yml index 350b1cc..4dc2e46 100644 --- a/.github/workflows/cargo-build-and-test.yml +++ b/.github/workflows/cargo-build-and-test.yml @@ -15,6 +15,8 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v2 + - name: Install dependencies + 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"