summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-04 18:47:52 +0000
committerSadie Powell <sadie@witchery.services>2022-01-04 18:48:22 +0000
commit4e5fc9797c2ea285e855f808dc65694d1cdba358 (patch)
tree921fef43c093cad79f2876e19c6aa077f7d894b0
parent9befb13ea42788383bb96d4eaf989895094a6e66 (diff)
Speed up CI by building with Ninja instead of Make.
-rw-r--r--.github/workflows/ci-linux.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml
index 33f7154fa..d53a83f2c 100644
--- a/.github/workflows/ci-linux.yml
+++ b/.github/workflows/ci-linux.yml
@@ -26,7 +26,7 @@ jobs:
libsqlite3-dev \
libssl-dev \
libtre-dev \
- make
+ ninja-build
- name: Enable extras
run: |
for MODULE in m_ldap.cpp m_ldap_authentication.cpp m_ldap_oper.cpp m_mysql.cpp m_regex_pcre.cpp m_regex_posix.cpp m_regex_tre.cpp m_sql_authentication.cpp m_sql_log.cpp m_sql_oper.cpp m_sqlite.cpp m_ssl_gnutls.cpp m_ssl_openssl.cpp stats
@@ -36,10 +36,10 @@ jobs:
- name: Run CMake
run: |
mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE:STRING=DEBUG -DINSTDIR:STRING=${{ github.workspace }}/run ..
+ cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=DEBUG -DINSTDIR:STRING=${{ github.workspace }}/run ..
- name: Build Anope
run: |
- make --directory ${{ github.workspace }}/build --jobs $(nproc) --no-print-directory install
+ ninja -C ${{ github.workspace }}/build install
strategy:
fail-fast: false
matrix: