47
47
comment-always : true
48
48
benchmark-data-dir-path : .
49
49
detect-code-related-file-changes :
50
- runs-on : ubuntu-22 .04
50
+ runs-on : ubuntu-24 .04
51
51
outputs :
52
52
has_code_related_changes : ${{ steps.set_has_code_related_changes.outputs.has_code_related_changes }}
53
53
steps :
79
79
host-x64 :
80
80
needs : [detect-code-related-file-changes]
81
81
if : needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
82
- runs-on : ubuntu-22 .04
82
+ runs-on : ubuntu-24 .04
83
83
steps :
84
84
- uses : actions/checkout@v4
85
85
- name : install-dependencies
89
89
.ci/riscv-toolchain-install.sh
90
90
wget https://apt.llvm.org/llvm.sh
91
91
sudo chmod +x ./llvm.sh
92
- sudo ./llvm.sh 17
92
+ sudo ./llvm.sh 18
93
93
shell : bash
94
94
- name : default build
95
95
run : make
@@ -108,6 +108,11 @@ jobs:
108
108
make distclean && make ENABLE_SDL=0 check -j$(nproc)
109
109
- name : gdbstub test
110
110
run : |
111
+ DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get -y install tzdata # without this, the following installation will require manual intervention to set tzdata
112
+ sudo apt install software-properties-common -y
113
+ sudo add-apt-repository ppa:deadsnakes/ppa
114
+ sudo apt update
115
+ sudo apt install libpython3.10 -y # due to the fact that the riscv-gnu-toolchain releases are built for ubuntu 22.04, its dependencies is python3.10
111
116
make distclean ENABLE_GDBSTUB=1 gdbstub-test
112
117
- name : JIT test
113
118
run : |
@@ -123,7 +128,7 @@ jobs:
123
128
host-arm64 :
124
129
needs : [detect-code-related-file-changes]
125
130
if : needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
126
- runs-on : ubuntu-22 .04
131
+ runs-on : ubuntu-24 .04
127
132
steps :
128
133
- name : checkout code
129
134
uses : actions/checkout@v4
@@ -143,7 +148,7 @@ jobs:
143
148
git config --global --add safe.directory ${{ github.workspace }}/src/mini-gdbstub
144
149
wget https://apt.llvm.org/llvm.sh
145
150
chmod +x ./llvm.sh
146
- ./llvm.sh 17
151
+ ./llvm.sh 18
147
152
# Append custom commands here
148
153
run : |
149
154
make -j$(nproc)
@@ -156,12 +161,12 @@ jobs:
156
161
coding-style :
157
162
needs : [detect-code-related-file-changes]
158
163
if : needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
159
- runs-on : ubuntu-22 .04
164
+ runs-on : ubuntu-24 .04
160
165
steps :
161
166
- uses : actions/checkout@v4
162
167
- name : coding convention
163
168
run : |
164
- sudo apt-get install -q -y clang-format-12
169
+ sudo apt-get install -q -y clang-format-18
165
170
.ci/check-newline.sh
166
171
.ci/check-format.sh
167
172
shell : bash
@@ -179,7 +184,7 @@ jobs:
179
184
sudo apt-get install -q -y clang clang-tools libsdl2-dev libsdl2-mixer-dev
180
185
wget https://apt.llvm.org/llvm.sh
181
186
chmod +x ./llvm.sh
182
- sudo ./llvm.sh 17
187
+ sudo ./llvm.sh 18
183
188
shell : bash
184
189
- name : run scan-build without JIT
185
190
run : make distclean && scan-build -v -o ~/scan-build --status-bugs --use-cc=clang --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=0
@@ -206,7 +211,7 @@ jobs:
206
211
docker-hub-build-and-publish :
207
212
needs : [detect-code-related-file-changes]
208
213
if : needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
209
- runs-on : ubuntu-22 .04
214
+ runs-on : ubuntu-24 .04
210
215
steps :
211
216
- name : Check out the repo
212
217
uses : actions/checkout@v4
0 commit comments