Skip to content

Commit a9c46eb

Browse files
committed
build: bump ci to Ubuntu 24.04, LLVM 20.1.8
1 parent 3c0b96a commit a9c46eb

File tree

2 files changed

+21
-31
lines changed

2 files changed

+21
-31
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ on:
77
jobs:
88
build:
99

10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111

1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 0
1616
submodules: true
1717

1818
- name: Set up JDK 25
19-
uses: actions/setup-java@v2
19+
uses: actions/setup-java@v5
2020
with:
2121
distribution: 'zulu'
2222
java-version: 25
@@ -25,21 +25,16 @@ jobs:
2525
- name: Install LLVM
2626
uses: KyleMayes/install-llvm-action@v2
2727
with:
28-
version: "18.1.8"
28+
version: "20.1.8"
29+
force-url: "https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/LLVM-20.1.8-Linux-X64.tar.xz"
30+
directory: ${{ runner.temp }}/llvm
2931

30-
- name: Install required dependencies
31-
run: sudo apt update && sudo apt install libtinfo5
32-
33-
- uses: actions/cache@v4
32+
- name: Setup Gradle
33+
uses: gradle/actions/setup-gradle@v4
3434
with:
35-
path: |
36-
~/.gradle/caches
37-
~/.gradle/wrapper
38-
./.gradle/loom-cache
39-
key: ${{ runner.os }}-gradle4-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
40-
restore-keys: |
41-
${{ runner.os }}-gradle4-
42-
35+
cache-read-only: false
36+
cache-cleanup: never
37+
4338
- name: Build C2ME
4439
run: |
4540
./gradlew clean build --stacktrace

.github/workflows/test.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ on:
66

77
jobs:
88
test:
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
1010

1111
strategy:
1212
fail-fast: false
1313
matrix:
1414
testTask: [runTestC2MEServer]
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
with:
1919
fetch-depth: 0
2020
submodules: true
2121

2222
- name: Set up JDK 25
23-
uses: actions/setup-java@v2
23+
uses: actions/setup-java@v5
2424
with:
2525
distribution: 'zulu'
2626
java-version: 25
@@ -29,20 +29,15 @@ jobs:
2929
- name: Install LLVM
3030
uses: KyleMayes/install-llvm-action@v2
3131
with:
32-
version: "18.1.8"
32+
version: "20.1.8"
33+
force-url: "https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/LLVM-20.1.8-Linux-X64.tar.xz"
34+
directory: ${{ runner.temp }}/llvm
3335

34-
- name: Install required dependencies
35-
run: sudo apt update && sudo apt install libtinfo5
36-
37-
- uses: actions/cache@v4
36+
- name: Setup Gradle
37+
uses: gradle/actions/setup-gradle@v4
3838
with:
39-
path: |
40-
~/.gradle/caches
41-
~/.gradle/wrapper
42-
./.gradle/loom-cache
43-
key: ${{ runner.os }}-gradle4-test-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
44-
restore-keys: |
45-
${{ runner.os }}-gradle4-test-
39+
cache-read-only: false
40+
cache-cleanup: never
4641

4742
- name: Test C2ME
4843
run: |

0 commit comments

Comments
 (0)