Skip to content

Commit baeed4e

Browse files
stephan57160bluca
authored andcommitted
Upgrade generated CI to Ubuntu 24.04 (regen from ZProject).
1 parent 755e0fa commit baeed4e

File tree

2 files changed

+15
-33
lines changed

2 files changed

+15
-33
lines changed

.github/workflows/CI.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- os: ubuntu-20.04
18+
- os: ubuntu-24.04
1919
BUILD_TYPE: default
2020
DRAFT: enabled
21-
CLANG_FORMAT: clang-format-11
22-
PACKAGES: automake autoconf clang-format-11 git libzmq3-dev libczmq-dev asciidoc xmlto
23-
- os: ubuntu-20.04
21+
CLANG_FORMAT: clang-format-18
22+
PACKAGES: automake autoconf clang-format-18 git libzmq3-dev libczmq-dev asciidoc xmlto
23+
- os: ubuntu-24.04
2424
BUILD_TYPE: default
2525
DRAFT: disabled
26-
CLANG_FORMAT: clang-format-11
27-
PACKAGES: automake autoconf clang-format-11 git libzmq3-dev libczmq-dev
28-
- os: ubuntu-20.04
26+
CLANG_FORMAT: clang-format-18
27+
PACKAGES: automake autoconf clang-format-18 git libzmq3-dev libczmq-dev
28+
- os: ubuntu-24.04
2929
BUILD_TYPE: valgrind
3030
DRAFT: enabled
3131
PACKAGES: automake autoconf valgrind git libzmq3-dev libczmq-dev
32-
- os: ubuntu-20.04
32+
- os: ubuntu-24.04
3333
BUILD_TYPE: cmake
3434
DRAFT: enabled
3535
PACKAGES: cmake git libzmq3-dev libczmq-dev
@@ -45,11 +45,11 @@ jobs:
4545
# to have dependencies ready and pass configure script before making this check).
4646
# Note that the autotools variant will also require dependencies preinstalled to
4747
# pass its configure script:
48-
- os: ubuntu-20.04
48+
- os: ubuntu-24.04
4949
BUILD_TYPE: cmake
5050
DO_CLANG_FORMAT_CHECK: 1
51-
CLANG_FORMAT: clang-format-11
52-
PACKAGES: cmake clang-format-11 git libzmq3-dev libczmq-dev
51+
CLANG_FORMAT: clang-format-18
52+
PACKAGES: cmake clang-format-18 git libzmq3-dev libczmq-dev
5353
env:
5454
# Set CI_TIME: true to enable build-step profiling
5555
# Set CI_TRACE: true to enable shell script tracing
@@ -72,12 +72,12 @@ jobs:
7272
CI_SELFTEST: ${{ matrix.CI_SELFTEST }}
7373
steps:
7474
- name: Add debian packages
75-
if: matrix.os == 'ubuntu-20.04'
75+
if: matrix.os == 'ubuntu-24.04'
7676
uses: myci-actions/add-deb-repo@10
7777
with:
7878
repo-name: obs
79-
repo: deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_20.04/ ./
80-
keys-asc: https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_20.04/Release.key
79+
repo: deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_24.04/ ./
80+
keys-asc: https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_24.04/Release.key
8181
install: ${{ matrix.PACKAGES }}
8282
- name: Add brew packages
8383
if: matrix.os == 'macos-latest'
@@ -87,7 +87,7 @@ jobs:
8787
with:
8888
path: zyre
8989
- name: build
90-
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-latest'
90+
if: matrix.os == 'ubuntu-24.04' || matrix.os == 'macos-latest'
9191
shell: bash
9292
working-directory: zyre
9393
run: ./ci_build.sh

configure.ac

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,6 @@ AC_ARG_ENABLE([perf_local],
536536
AM_CONDITIONAL([ENABLE_PERF_LOCAL], [test x$enable_perf_local != xno])
537537
AM_COND_IF([ENABLE_PERF_LOCAL], [AC_MSG_NOTICE([ENABLE_PERF_LOCAL defined])])
538538

539-
AM_CONDITIONAL([ENABLE_ZYRE_SELFTEST], [test x$enable_zyre_selftest != xno])
540-
AM_COND_IF([ENABLE_ZYRE_SELFTEST], [AC_MSG_NOTICE([ENABLE_ZYRE_SELFTEST defined])])
541-
542539
# Check for perf_remote intent
543540
AC_ARG_ENABLE([perf_remote],
544541
AS_HELP_STRING([--enable-perf_remote],
@@ -549,9 +546,6 @@ AC_ARG_ENABLE([perf_remote],
549546
AM_CONDITIONAL([ENABLE_PERF_REMOTE], [test x$enable_perf_remote != xno])
550547
AM_COND_IF([ENABLE_PERF_REMOTE], [AC_MSG_NOTICE([ENABLE_PERF_REMOTE defined])])
551548

552-
AM_CONDITIONAL([ENABLE_ZYRE_SELFTEST], [test x$enable_zyre_selftest != xno])
553-
AM_COND_IF([ENABLE_ZYRE_SELFTEST], [AC_MSG_NOTICE([ENABLE_ZYRE_SELFTEST defined])])
554-
555549
# Check for zpinger intent
556550
AC_ARG_ENABLE([zpinger],
557551
AS_HELP_STRING([--enable-zpinger],
@@ -562,9 +556,6 @@ AC_ARG_ENABLE([zpinger],
562556
AM_CONDITIONAL([ENABLE_ZPINGER], [test x$enable_zpinger != xno])
563557
AM_COND_IF([ENABLE_ZPINGER], [AC_MSG_NOTICE([ENABLE_ZPINGER defined])])
564558

565-
AM_CONDITIONAL([ENABLE_ZYRE_SELFTEST], [test x$enable_zyre_selftest != xno])
566-
AM_COND_IF([ENABLE_ZYRE_SELFTEST], [AC_MSG_NOTICE([ENABLE_ZYRE_SELFTEST defined])])
567-
568559
# Check for ztester_beacon intent
569560
AC_ARG_ENABLE([ztester_beacon],
570561
AS_HELP_STRING([--enable-ztester_beacon],
@@ -575,9 +566,6 @@ AC_ARG_ENABLE([ztester_beacon],
575566
AM_CONDITIONAL([ENABLE_ZTESTER_BEACON], [test x$enable_ztester_beacon != xno])
576567
AM_COND_IF([ENABLE_ZTESTER_BEACON], [AC_MSG_NOTICE([ENABLE_ZTESTER_BEACON defined])])
577568

578-
AM_CONDITIONAL([ENABLE_ZYRE_SELFTEST], [test x$enable_zyre_selftest != xno])
579-
AM_COND_IF([ENABLE_ZYRE_SELFTEST], [AC_MSG_NOTICE([ENABLE_ZYRE_SELFTEST defined])])
580-
581569
# Check for ztester_gossip intent
582570
AC_ARG_ENABLE([ztester_gossip],
583571
AS_HELP_STRING([--enable-ztester_gossip],
@@ -588,9 +576,6 @@ AC_ARG_ENABLE([ztester_gossip],
588576
AM_CONDITIONAL([ENABLE_ZTESTER_GOSSIP], [test x$enable_ztester_gossip != xno])
589577
AM_COND_IF([ENABLE_ZTESTER_GOSSIP], [AC_MSG_NOTICE([ENABLE_ZTESTER_GOSSIP defined])])
590578

591-
AM_CONDITIONAL([ENABLE_ZYRE_SELFTEST], [test x$enable_zyre_selftest != xno])
592-
AM_COND_IF([ENABLE_ZYRE_SELFTEST], [AC_MSG_NOTICE([ENABLE_ZYRE_SELFTEST defined])])
593-
594579
# Check for zyre_selftest intent
595580
AC_ARG_ENABLE([zyre_selftest],
596581
AS_HELP_STRING([--enable-zyre_selftest],
@@ -601,9 +586,6 @@ AC_ARG_ENABLE([zyre_selftest],
601586
AM_CONDITIONAL([ENABLE_ZYRE_SELFTEST], [test x$enable_zyre_selftest != xno])
602587
AM_COND_IF([ENABLE_ZYRE_SELFTEST], [AC_MSG_NOTICE([ENABLE_ZYRE_SELFTEST defined])])
603588

604-
AM_CONDITIONAL([ENABLE_ZYRE_SELFTEST], [test x$enable_zyre_selftest != xno])
605-
AM_COND_IF([ENABLE_ZYRE_SELFTEST], [AC_MSG_NOTICE([ENABLE_ZYRE_SELFTEST defined])])
606-
607589
# Checks for library functions.
608590
AC_TYPE_SIGNAL
609591
AC_CHECK_FUNCS(perror gettimeofday memset getifaddrs)

0 commit comments

Comments
 (0)