mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -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
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Run configure
|
- 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)
|
# Speed-up build (6 min -> 5 min)
|
||||||
- name: Precompile inspircd.h
|
- name: Precompile inspircd.h
|
||||||
@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Make artifact tarball
|
- name: Make artifact tarball
|
||||||
run: |-
|
run: |-
|
||||||
cd ~
|
cd ~
|
||||||
tar -czf artifacts-inspircd.tar.gz .local/
|
tar -czf artifacts-inspircd.tar.gz inspircd
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -74,36 +74,28 @@ jobs:
|
|||||||
|
|
||||||
- name: Run irctest (no services)
|
- name: Run irctest (no services)
|
||||||
if: matrix.services == '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
|
- name: Checkout Anope
|
||||||
if: matrix.services == 'anope'
|
if: matrix.services == 'anope'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: anope
|
path: anope
|
||||||
ref: 2.0.15
|
ref: 2.1.7
|
||||||
repository: anope/anope
|
repository: anope/anope
|
||||||
|
|
||||||
- name: Build and install Anope
|
- name: Build and install Anope
|
||||||
if: matrix.services == 'anope'
|
if: matrix.services == 'anope'
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE/anope/
|
cd $GITHUB_WORKSPACE/anope
|
||||||
sudo apt-get install ninja-build --no-install-recommends
|
sudo apt-get install ninja-build --no-install-recommends
|
||||||
mkdir build && cd build
|
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
|
ninja install
|
||||||
|
|
||||||
- name: Run irctest (Anope services)
|
- name: Run irctest (Anope services)
|
||||||
if: matrix.services == 'anope'
|
if: matrix.services == 'anope'
|
||||||
run: PATH=$HOME/.local/bin:$PATH make -C irctest/ inspircd-anope
|
run: PATH=$HOME/anope/bin:$HOME/inspircd/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
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -111,4 +103,3 @@ jobs:
|
|||||||
services:
|
services:
|
||||||
- no services
|
- no services
|
||||||
- anope
|
- anope
|
||||||
# - atheme
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user