From bcd882101b5dc424be25dbb2693c8688ec016b33 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Tue, 20 Apr 2021 00:14:55 +0000 Subject: ci: use ninja to build under linux/macos This is done to make the output when the build fails a bit easier to read, specifically we'd like to see the compiler command used. This theoretically will improve the build performance a bit by doing the compilation in parallel, however the cost for installing ninja likely more than offsets this. Signed-off-by: GitHub --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61a021c..33495db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,9 @@ jobs: - uses: actions/checkout@v2 with: submodules: true + - name: Install Prerequisites + shell: bash + run: sudo apt install -y ninja-build - name: Configure Build & Test shell: bash @@ -46,6 +49,9 @@ jobs: - uses: actions/checkout@v2 with: submodules: true + - name: Install Prerequisites + shell: bash + run: brew install ninja - name: Configure Build & Test shell: bash -- cgit v1.2.1