Skip to content

Commit 1382c16

Browse files
committed
CI: Bump to Ubuntu Linux 24.04
Ubuntu Linux 24.04 (noble) is the latest LTS release, and this commit updates the CI pipeline hosts and recommended development environments accordingly. The version of clang-format is updated to v18, with all C source files re-indented. In addition, the contribution guidance was synchronized with the upstream changes.
1 parent 7e7af59 commit 1382c16

File tree

4 files changed

+363
-54
lines changed

4 files changed

+363
-54
lines changed

.ci/check-format.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -x
66

77
for file in ${SOURCES};
88
do
9-
clang-format-12 ${file} > expected-format
9+
clang-format-18 ${file} > expected-format
1010
diff -u -p --label="${file}" --label="expected coding style" ${file} expected-format
1111
done
12-
exit $(clang-format-12 --output-replacements-xml ${SOURCES} | egrep -c "</replacement>")
12+
exit $(clang-format-18 --output-replacements-xml ${SOURCES} | egrep -c "</replacement>")

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
semu-linux:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
88
steps:
99
- uses: actions/checkout@v4
1010
- name: install-dependencies
@@ -37,11 +37,11 @@ jobs:
3737
shell: bash
3838

3939
coding_style:
40-
runs-on: ubuntu-22.04
40+
runs-on: ubuntu-24.04
4141
steps:
4242
- uses: actions/checkout@v4
4343
- name: coding convention
4444
run: |
45-
sudo apt-get install -q -y clang-format-12
45+
sudo apt-get install -q -y clang-format-18
4646
.ci/check-format.sh
4747
shell: bash

0 commit comments

Comments
 (0)