@@ -90,21 +90,21 @@ jobs:
90
90
fail-fast: false
91
91
matrix:
92
92
include:
93
- - os: ubuntu-20 .04
93
+ - os: ubuntu-24 .04
94
94
BUILD_TYPE: default
95
95
DRAFT: enabled
96
- CLANG_FORMAT: clang-format-11
97
- PACKAGES: automake autoconf clang-format-11 $(packages) $(packages_doctools)
98
- - os: ubuntu-20 .04
96
+ CLANG_FORMAT: clang-format-18
97
+ PACKAGES: automake autoconf clang-format-18 $(packages) $(packages_doctools)
98
+ - os: ubuntu-24 .04
99
99
BUILD_TYPE: default
100
100
DRAFT: disabled
101
- CLANG_FORMAT: clang-format-11
102
- PACKAGES: automake autoconf clang-format-11 $(packages)
103
- - os: ubuntu-20 .04
101
+ CLANG_FORMAT: clang-format-18
102
+ PACKAGES: automake autoconf clang-format-18 $(packages)
103
+ - os: ubuntu-24 .04
104
104
BUILD_TYPE: valgrind
105
105
DRAFT: enabled
106
106
PACKAGES: automake autoconf valgrind $(packages)
107
- - os: ubuntu-20 .04
107
+ - os: ubuntu-24 .04
108
108
BUILD_TYPE: cmake
109
109
DRAFT: enabled
110
110
PACKAGES: cmake $(packages)
@@ -119,37 +119,37 @@ jobs:
119
119
.if project.gh_actions_clangformat_implem ?= "autotools" | ( !defined(project.gh_actions_clangformat_implem) & project.gh_actions_use_cmake ?= 0 )
120
120
. echo "GHA: CLANG-FORMAT: implementation: autotools"
121
121
### Note: we don't use CMake
122
- - os: ubuntu-20 .04
122
+ - os: ubuntu-24 .04
123
123
BUILD_TYPE: cmake
124
124
DO_CLANG_FORMAT_CHECK: 1
125
- CLANG_FORMAT: clang-format-11
126
- PACKAGES: cmake clang-format-11 $(packages)
125
+ CLANG_FORMAT: clang-format-18
126
+ PACKAGES: cmake clang-format-18 $(packages)
127
127
.endif
128
128
# For non-cmake users, there is an autotools solution with a bit more overhead
129
129
# to have dependencies ready and pass configure script before making this check).
130
130
# Note that the autotools variant will also require dependencies preinstalled to
131
131
# pass its configure script:
132
132
.if project.gh_actions_clangformat_implem ?= "cmake" | ( !defined(project.gh_actions_clangformat_implem) & ( project.gh_actions_use_cmake ?= 1 | !defined(project.gh_actions_use_cmake) ) )
133
133
. echo "GHA: CLANG-FORMAT: implementation: cmake"
134
- - os: ubuntu-20 .04
134
+ - os: ubuntu-24 .04
135
135
BUILD_TYPE: cmake
136
136
DO_CLANG_FORMAT_CHECK: 1
137
- CLANG_FORMAT: clang-format-11
138
- PACKAGES: cmake clang-format-11 $(packages)
137
+ CLANG_FORMAT: clang-format-18
138
+ PACKAGES: cmake clang-format-18 $(packages)
139
139
.endif
140
140
.if project.gh_actions_check_abi_compliance ?= 1
141
141
. if project.exports_classes
142
142
# Note: the ABI compliance checker script currently assumes that:
143
143
# 1) Your project sources have a "latest_release" branch or tag
144
144
# to check out and compare the current commit's ABI to;
145
145
# 2) Prerequisites are available as packages - no custom rebuilds.
146
- - os: ubuntu-20 .04
146
+ - os: ubuntu-24 .04
147
147
BUILD_TYPE: abi-compliance-checker
148
148
PACKAGES: universal-ctags abi-dumper abi-compliance-checker $(packages)
149
149
. endif
150
150
.endif
151
151
.if defined(project.gh_actions_check_zproject) & !(project.gh_actions_check_zproject ?= 0)
152
- - os: ubuntu-20 .04
152
+ - os: ubuntu-24 .04
153
153
BUILD_TYPE: check_zproject
154
154
PACKAGES: $(packages) $(packages_zproject)
155
155
.endif
@@ -203,12 +203,12 @@ false
203
203
CI_SELFTEST: ${{ matrix.CI_SELFTEST }}
204
204
steps:
205
205
- name: Add debian packages
206
- if: matrix.os == 'ubuntu-20 .04'
206
+ if: matrix.os == 'ubuntu-24 .04'
207
207
uses: myci-actions/add-deb-repo@10
208
208
with:
209
209
repo-name: obs
210
- repo: deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_20 .04/ ./
211
- keys-asc: https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_20 .04/Release.key
210
+ repo: deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_24 .04/ ./
211
+ keys-asc: https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_24 .04/Release.key
212
212
install: ${{ matrix.PACKAGES }}
213
213
- name: Add brew packages
214
214
if: matrix.os == 'macos-latest'
@@ -218,7 +218,7 @@ false
218
218
with:
219
219
path: $(project.name)
220
220
- name: build
221
- if: matrix.os == 'ubuntu-20 .04' || matrix.os == 'macos-latest'
221
+ if: matrix.os == 'ubuntu-24 .04' || matrix.os == 'macos-latest'
222
222
shell: bash
223
223
working-directory: $(project.name)
224
224
run: ./ci_build.sh
0 commit comments