feat: Remove autotools and adapt docu and scripts

We will only use Meson from now on.

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
This commit is contained in:
Michael Vetter
2026-03-27 21:23:49 +01:00
parent 5e8987274f
commit bc777c56b2
17 changed files with 120 additions and 1344 deletions

View File

@@ -38,6 +38,8 @@ jobs:
uses: egor-tensin/setup-cygwin@v4
with:
packages: >-
meson
ninja
autoconf
automake
libtool
@@ -65,28 +67,14 @@ jobs:
./configure --prefix=$PWD/install
make -j2 install
- name: Autotools bootstrap
run: |
cd "$GITHUB_WORKSPACE"
# On Windows checkouts the executable bit may be lost and CRLF line endings
# can break shell scripts, so normalize bootstrap.sh if it exists.
if [ -f ./bootstrap.sh ]; then
sed -i 's/\r$//' ./bootstrap.sh
chmod +x ./bootstrap.sh
./bootstrap.sh
else
autoreconf -fi
fi
- name: Configure
- name: Meson setup
env:
PKG_CONFIG_PATH: ${{ github.workspace }}/deps/libstrophe/install/lib/pkgconfig:$PKG_CONFIG_PATH
run: |
cd "$GITHUB_WORKSPACE"
./configure
meson setup build_run
- name: Build
run: |
cd "$GITHUB_WORKSPACE"
make -j2
meson compile -C build_run

View File

@@ -17,32 +17,29 @@ jobs:
fail-fast: false
matrix:
include:
- flavor: debian
buildsystem: autotools
tests: unit
omemo: signal
script: ./scripts/build-configuration-matrix.sh
- flavor: fedora
buildsystem: autotools
tests: unit
omemo: signal
script: ./scripts/build-configuration-matrix.sh
- flavor: ubuntu
buildsystem: autotools
tests: unit
omemo: signal
script: ./scripts/build-configuration-matrix.sh
- flavor: debian
buildsystem: meson
tests: unit
omemo: signal
script: ./scripts/build-configuration-matrix.sh meson
script: ./scripts/build-configuration-matrix.sh
omemo_env: libsignal
- flavor: fedora
buildsystem: meson
tests: unit
omemo: signal
script: ./scripts/build-configuration-matrix.sh
omemo_env: libsignal
- flavor: ubuntu
buildsystem: meson
tests: unit
omemo: signal
script: ./scripts/build-configuration-matrix.sh
omemo_env: libsignal
- flavor: debian
buildsystem: meson
tests: unit
omemo: libomemo
script: ./scripts/build-configuration-matrix.sh meson
script: ./scripts/build-configuration-matrix.sh
omemo_env: libomemo-c
name: ${{ matrix.flavor }} | ${{ matrix.buildsystem }} | ${{ matrix.tests }} | ${{ matrix.omemo }}