From 5230616a9df1e29d849088dcd05fd3fb9e62944b Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 11 Dec 2021 22:53:29 +0000 Subject: [PATCH] chore: Fix CI: don't install bootstrap daemon. --- .github/settings.yml | 1 + .github/workflows/ci.yml | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index 9074d0f..24df2ed 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -11,6 +11,7 @@ branches: protection: required_status_checks: contexts: + - build - cirrus-ci - Codacy Static Code Analysis - code-review/reviewable diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c72f10..880a137 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: branches: [master] jobs: - latest: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -15,9 +15,13 @@ jobs: run: sudo apt-get update && sudo apt-get install -y --no-install-recommends + libalut-dev + libconfig-dev + libcurl4-gnutls-dev libnotify-dev libopenal-dev libopus-dev + libqrencode-dev libsodium-dev libvpx-dev python3-dev @@ -27,9 +31,10 @@ jobs: run: git clone --depth=1 https://github.com/TokTok/c-toxcore && cd c-toxcore && - cmake . -B_build && - make -C _build - sudo make -C _build install + cmake . -B_build -DBOOTSTRAP_DAEMON=OFF && + cd _build && + make -j4 && + sudo make install - name: Build toxic - run: make + run: make -j4