@@ -4,7 +4,7 @@ on: [push, pull_request]
44
55jobs :
66 detect-code-related-file-changes :
7- runs-on : ubuntu-22 .04
7+ runs-on : ubuntu-24 .04
88 outputs :
99 has_code_related_changes : ${{ steps.set_has_code_related_changes.outputs.has_code_related_changes }}
1010 steps :
3636 host-x64 :
3737 needs : [detect-code-related-file-changes]
3838 if : needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
39- runs-on : ubuntu-22 .04
39+ runs-on : ubuntu-24 .04
4040 steps :
4141 - uses : actions/checkout@v4
4242 - name : install-dependencies
4646 .ci/riscv-toolchain-install.sh
4747 wget https://apt.llvm.org/llvm.sh
4848 sudo chmod +x ./llvm.sh
49- sudo ./llvm.sh 17
49+ sudo ./llvm.sh 18
5050 shell : bash
5151 - name : default build
5252 run : make -j$(nproc)
@@ -80,14 +80,14 @@ jobs:
8080 host-arm64 :
8181 needs : [detect-code-related-file-changes]
8282 if : needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
83- runs-on : ubuntu-22 .04
83+ runs-on : ubuntu-24 .04
8484 steps :
8585 - name : checkout code
8686 uses : actions/checkout@v4
8787 - name : build artifact
8888 # The GitHub Action for non-x86 CPU
8989 # https://github.com/uraimo/run-on-arch-action
90- uses : uraimo/run-on-arch-action@v2.7.1
90+ uses : uraimo/run-on-arch-action@v2
9191 with :
9292 arch : aarch64
9393 distro : ubuntu22.04
@@ -100,7 +100,7 @@ jobs:
100100 git config --global --add safe.directory ${{ github.workspace }}/src/mini-gdbstub
101101 wget https://apt.llvm.org/llvm.sh
102102 chmod +x ./llvm.sh
103- ./llvm.sh 17
103+ ./llvm.sh 18
104104 # Append custom commands here
105105 run : |
106106 make -j$(nproc)
@@ -113,12 +113,12 @@ jobs:
113113 coding-style :
114114 needs : [detect-code-related-file-changes]
115115 if : needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
116- runs-on : ubuntu-22 .04
116+ runs-on : ubuntu-24 .04
117117 steps :
118118 - uses : actions/checkout@v4
119119 - name : coding convention
120120 run : |
121- sudo apt-get install -q -y clang-format-12
121+ sudo apt-get install -q -y clang-format-18
122122 .ci/check-newline.sh
123123 .ci/check-format.sh
124124 shell : bash
@@ -136,7 +136,7 @@ jobs:
136136 sudo apt-get install -q -y clang clang-tools libsdl2-dev libsdl2-mixer-dev
137137 wget https://apt.llvm.org/llvm.sh
138138 chmod +x ./llvm.sh
139- sudo ./llvm.sh 17
139+ sudo ./llvm.sh 18
140140 shell : bash
141141 - name : run scan-build without JIT
142142 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
@@ -163,7 +163,7 @@ jobs:
163163 docker-hub-build-and-publish :
164164 needs : [detect-code-related-file-changes]
165165 if : needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
166- runs-on : ubuntu-22 .04
166+ runs-on : ubuntu-24 .04
167167 steps :
168168 - name : Check out the repo
169169 uses : actions/checkout@v4
0 commit comments