mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Run irctest against Anope 2.1.
[skip alpine ci] [skip ubuntu ci] [skip macos ci] [skip windows ci]
This commit is contained in:
parent
8da9c519b7
commit
c7866e1e6c
23
.github/workflows/ci-irctest.yml
vendored
23
.github/workflows/ci-irctest.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run configure
|
||||
run: ./configure --development --disable-auto-extras --prefix=$HOME/.local/
|
||||
run: ./configure --development --disable-auto-extras --prefix=$HOME/inspircd
|
||||
|
||||
# Speed-up build (6 min -> 5 min)
|
||||
- name: Precompile inspircd.h
|
||||
@ -36,7 +36,7 @@ jobs:
|
||||
- name: Make artifact tarball
|
||||
run: |-
|
||||
cd ~
|
||||
tar -czf artifacts-inspircd.tar.gz .local/
|
||||
tar -czf artifacts-inspircd.tar.gz inspircd
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
@ -74,36 +74,28 @@ jobs:
|
||||
|
||||
- name: Run irctest (no services)
|
||||
if: matrix.services == 'no services'
|
||||
run: PATH=$HOME/.local/bin:$PATH make -C irctest/ inspircd
|
||||
run: PATH=$HOME/inspircd/bin:$PATH make -C irctest inspircd
|
||||
|
||||
- name: Checkout Anope
|
||||
if: matrix.services == 'anope'
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: anope
|
||||
ref: 2.0.15
|
||||
ref: 2.1.7
|
||||
repository: anope/anope
|
||||
|
||||
- name: Build and install Anope
|
||||
if: matrix.services == 'anope'
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE/anope/
|
||||
cd $GITHUB_WORKSPACE/anope
|
||||
sudo apt-get install ninja-build --no-install-recommends
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/ -DPROGRAM_NAME=anope -GNinja ..
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$HOME/anope -DPROGRAM_NAME=anope -GNinja ..
|
||||
ninja install
|
||||
|
||||
- name: Run irctest (Anope services)
|
||||
if: matrix.services == 'anope'
|
||||
run: PATH=$HOME/.local/bin:$PATH make -C irctest/ inspircd-anope
|
||||
|
||||
# - name: Install Atheme
|
||||
# if: matrix.services == 'atheme'
|
||||
# run: sudo apt-get install --assume-yes atheme-services
|
||||
|
||||
# - name: Run irctest (Atheme services)
|
||||
# if: matrix.services == 'atheme'
|
||||
# run: PATH=$HOME/.local/bin:$PATH make -C irctest/ inspircd-atheme
|
||||
run: PATH=$HOME/anope/bin:$HOME/inspircd/bin:$PATH make -C irctest inspircd-anope
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -111,4 +103,3 @@ jobs:
|
||||
services:
|
||||
- no services
|
||||
- anope
|
||||
# - atheme
|
||||
|
Loading…
x
Reference in New Issue
Block a user