From 742442d64a9d941a157e22e984bd1c94c26cd2ce Mon Sep 17 00:00:00 2001 From: karliss Date: Thu, 2 Apr 2020 20:55:24 +0300 Subject: [PATCH] Install ninja from backports on Ubuntu 16.04. (#2125) --- .github/workflows/ccpp.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 7d7373d31..19ea848f3 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -26,7 +26,14 @@ jobs: submodules: true # 'recursive' 'true' or 'false' - name: apt dependencies if: contains(matrix.os, 'ubuntu') - run: sudo apt-get install ninja-build libgraphviz-dev + run: | + sudo apt-get install libgraphviz-dev + if [[ "${{ matrix.os }}" = "ubuntu-16.04" ]] + then + sudo apt-get install ninja-build/xenial-backports + else + sudo apt-get install ninja-build + fi - name: homebrew dependencies if: contains(matrix.os, 'macos') run: |