mirror of
https://github.com/anope/anope.git
synced 2026-06-12 18:54:47 +02:00
Speed up CI by building with Ninja instead of Make.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user