summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-04-20 00:14:55 +0000
committerAlan Antonuk <alan.antonuk@gmail.com>2021-04-19 17:58:33 -0700
commitbcd882101b5dc424be25dbb2693c8688ec016b33 (patch)
tree382c51607820eb25d9b18b7a5016b942f9e2ba50 /.github
parentd3719317c2bf10c6ae66b5849fdaada5dcf16c80 (diff)
downloadrabbitmq-c-bcd882101b5dc424be25dbb2693c8688ec016b33.tar.gz
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 <noreply@github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
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