Skip to content

Commit

Permalink
Test on Ubuntu 24.04 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed Oct 14, 2024
1 parent b0c39d0 commit aa0cf3c
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@ on:
- pull_request

env:
WEECHAT_RELAY_DEPENDENCIES: asciidoctor cmake debhelper devscripts libcpputest-dev libgnutls28-dev lcov libreadline-dev libzstd-dev pkg-config zlib1g-dev
WEECHAT_RELAY_DEPS_UBUNTU: >-
asciidoctor
cmake
debhelper
devscripts
libcpputest-dev
libgnutls28-dev
lcov
libreadline-dev
libzstd-dev
pkg-config
zlib1g-dev
jobs:

Expand All @@ -14,7 +25,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
config:
- { name: "gcc", cc: "gcc", cxx: "g++", cmake_options: "" }
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", cmake_options: "-DCODE_COVERAGE=ON" }
Expand All @@ -30,7 +41,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_RELAY_DEPENDENCIES }}
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_RELAY_DEPS_UBUNTU }}
- name: Build
env:
Expand Down Expand Up @@ -116,7 +127,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04

name: "Build Debian on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
Expand All @@ -128,13 +139,13 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_RELAY_DEPENDENCIES }}
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_RELAY_DEPS_UBUNTU }}
- name: Test Debian patches
run: ./tools/build_debian.sh test-patches

- name: Build Debian packages
run: ./tools/build_debian.sh devel ubuntu/jammy
run: ./tools/build_debian.sh devel ubuntu/noble

- name: Install Debian packages
run: sudo dpkg -i ../*weechatrelay*.deb
Expand Down

0 comments on commit aa0cf3c

Please sign in to comment.