mirror of
https://github.com/anope/anope.git
synced 2026-06-29 17:56:37 +02:00
@@ -0,0 +1,47 @@
|
|||||||
|
name: Linux CI
|
||||||
|
on:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
env:
|
||||||
|
CXX: ${{ matrix.compiler }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update --assume-yes
|
||||||
|
sudo apt-get install --assume-yes --no-install-recommends \
|
||||||
|
clang \
|
||||||
|
g++ \
|
||||||
|
git \
|
||||||
|
libc++-dev \
|
||||||
|
libc++abi-dev \
|
||||||
|
libgnutls28-dev \
|
||||||
|
libldap2-dev \
|
||||||
|
libmysqlclient-dev \
|
||||||
|
libpcre3-dev \
|
||||||
|
libsqlite3-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libtre-dev \
|
||||||
|
make
|
||||||
|
- 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
|
||||||
|
do
|
||||||
|
ln -s ${{ github.workspace }}/modules/extra/$MODULE ${{ github.workspace }}/modules
|
||||||
|
done
|
||||||
|
- name: Run CMake
|
||||||
|
run: |
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake -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
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
compiler:
|
||||||
|
- clang++
|
||||||
|
- g++
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
config.cache
|
config.cache
|
||||||
include/sysconf.h
|
include/sysconf.h
|
||||||
build/
|
build/
|
||||||
|
run/
|
||||||
|
|||||||
-16
@@ -1,16 +0,0 @@
|
|||||||
language: cpp
|
|
||||||
|
|
||||||
compiler:
|
|
||||||
- gcc
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- mkdir build
|
|
||||||
- cd build
|
|
||||||
- cmake -DINSTDIR:STRING=~/services -DDEFUMASK:STRING=077 -DCMAKE_BUILD_TYPE:STRING=DEBUG -DUSE_RUN_CC_PL:BOOLEAN=ON ..
|
|
||||||
|
|
||||||
script:
|
|
||||||
- make
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
irc:
|
|
||||||
- "irc.anope.org#anope-devel"
|
|
||||||
Reference in New Issue
Block a user