diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-06 13:10:56 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-08 14:19:41 +0100 |
commit | 754ab339469cdf8b55b82f4c896c4e15876551db (patch) | |
tree | 28a8a77c07a5e36e7af93ae0fe68a7a6416df239 /.github/workflows/ci.yml | |
parent | 18360feb324d8d4f63706662b5c0e919bc93c357 (diff) | |
download | weechat-754ab339469cdf8b55b82f4c896c4e15876551db.zip |
core: remove build with autotools
CMake is now the only way to build WeeChat.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 251aa8fe3..083d5a1df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: - pull_request env: - WEECHAT_DEPENDENCIES: devscripts equivs python3-pip autopoint cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-3.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php-dev libphp-embed libargon2-dev libsodium-dev flake8 pylint python3-bandit asciidoctor ruby-pygments.rb shellcheck + WEECHAT_DEPENDENCIES: devscripts equivs python3-pip cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-3.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php-dev libphp-embed libargon2-dev libsodium-dev flake8 pylint python3-bandit asciidoctor ruby-pygments.rb shellcheck jobs: @@ -16,13 +16,11 @@ jobs: os: - ubuntu-22.04 config: - - { name: "cmake_gcc", cc: "gcc", cxx: "g++", tool: "cmake", args: "" } - - { name: "cmake_gcc_ninja", cc: "gcc", cxx: "g++", tool: "cmake", args: "-G Ninja" } - - { name: "cmake_gcc_no_nls", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_NLS=OFF" } - - { name: "cmake_gcc_coverage", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_CODE_COVERAGE=ON" } - - { name: "cmake_clang", cc: "clang", cxx: "clang++", tool: "cmake", args: "" } - - { name: "autotools_gcc", cc: "gcc", cxx: "g++", tool: "autotools", args: "" } - - { name: "autotools_clang", cc: "clang", cxx: "clang++", tool: "autotools", args: "" } + - { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" } + - { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" } + - { name: "gcc_no_nls", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_NLS=OFF" } + - { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" } + - { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" } name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}" runs-on: ${{ matrix.os }} @@ -53,8 +51,7 @@ jobs: env: CC: ${{ matrix.config.cc }} CXX: ${{ matrix.config.cxx }} - BUILDTOOL: ${{ matrix.config.tool }} - BUILDARGS: ${{ matrix.config.args }} + BUILDARGS: ${{ matrix.config.buildargs }} run: ./tools/build_test.sh - name: Run WeeChat |