Skip to content

Commit 7feb118

Browse files
committed
Update Anope.
1 parent 246a259 commit 7feb118

File tree

6 files changed

+25
-33
lines changed

6 files changed

+25
-33
lines changed

.github/workflows/test-devel.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
uses: actions/checkout@v3
2626
with:
2727
path: anope
28-
ref: 2.0.9
28+
ref: '2.1'
2929
repository: anope/anope
3030
- name: Build Anope
3131
run: |
3232
cd $GITHUB_WORKSPACE/anope/
33-
cp $GITHUB_WORKSPACE/data/anope/* .
34-
CFLAGS=-O0 ./Config -quick
35-
make -C build -j 4
36-
make -C build install
33+
sudo apt-get install ninja-build --no-install-recommends
34+
mkdir build && cd build
35+
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/ -DPROGRAM_NAME=anope -DUSE_PCH=ON -GNinja ..
36+
ninja install
3737
- name: Make artefact tarball
3838
run: cd ~; tar -czf artefacts-anope.tar.gz .local/ go/
3939
- name: Upload build artefacts

.github/workflows/test-devel_release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
uses: actions/checkout@v3
2626
with:
2727
path: anope
28-
ref: 2.0.9
28+
ref: '2.0'
2929
repository: anope/anope
3030
- name: Build Anope
3131
run: |
3232
cd $GITHUB_WORKSPACE/anope/
33-
cp $GITHUB_WORKSPACE/data/anope/* .
34-
CFLAGS=-O0 ./Config -quick
35-
make -C build -j 4
36-
make -C build install
33+
sudo apt-get install ninja-build --no-install-recommends
34+
mkdir build && cd build
35+
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/ -DPROGRAM_NAME=anope -DUSE_PCH=ON -GNinja ..
36+
ninja install
3737
- name: Make artefact tarball
3838
run: cd ~; tar -czf artefacts-anope.tar.gz .local/ go/
3939
- name: Upload build artefacts

.github/workflows/test-stable.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
uses: actions/checkout@v3
2626
with:
2727
path: anope
28-
ref: 2.0.9
28+
ref: 2.0.14
2929
repository: anope/anope
3030
- name: Build Anope
3131
run: |
3232
cd $GITHUB_WORKSPACE/anope/
33-
cp $GITHUB_WORKSPACE/data/anope/* .
34-
CFLAGS=-O0 ./Config -quick
35-
make -C build -j 4
36-
make -C build install
33+
sudo apt-get install ninja-build --no-install-recommends
34+
mkdir build && cd build
35+
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/ -DPROGRAM_NAME=anope -DUSE_PCH=ON -GNinja ..
36+
ninja install
3737
- name: Make artefact tarball
3838
run: cd ~; tar -czf artefacts-anope.tar.gz .local/ go/
3939
- name: Upload build artefacts

data/anope/config.cache

-8
This file was deleted.

irctest/controllers/anope_services.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ def run(self, protocol: str, server_hostname: str, server_port: int) -> None:
101101
pass
102102

103103
assert self.directory
104-
services_path = shutil.which("services")
104+
services_path = shutil.which("anope")
105105
assert services_path
106106

107107
# Config and code need to be in the same directory, *obviously*
108108
(self.directory / "lib").symlink_to(Path(services_path).parent.parent / "lib")
109109

110110
self.proc = subprocess.Popen(
111111
[
112-
"services",
112+
"anope",
113113
"-n", # don't fork
114114
"--config=services.conf", # can't be an absolute path
115115
# "--logdir",

workflows.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -343,16 +343,16 @@ software:
343343
separate_build_job: true
344344
path: anope
345345
refs:
346-
stable: "2.0.9"
347-
release: "2.0.9"
348-
devel: "2.0.9"
349-
devel_release: "2.0.9"
346+
stable: "2.0.14"
347+
release: "2.1.1"
348+
devel: "2.1"
349+
devel_release: "2.0"
350350
build_script: |
351351
cd $GITHUB_WORKSPACE/anope/
352-
cp $GITHUB_WORKSPACE/data/anope/* .
353-
CFLAGS=-O0 ./Config -quick
354-
make -C build -j 4
355-
make -C build install
352+
sudo apt-get install ninja-build --no-install-recommends
353+
mkdir build && cd build
354+
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/ -DPROGRAM_NAME=anope -DUSE_PCH=ON -GNinja ..
355+
ninja install
356356
357357
dlk:
358358
name: Dlk

0 commit comments

Comments
 (0)