-
Notifications
You must be signed in to change notification settings - Fork 48
49 lines (40 loc) · 1.01 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: C2ME Test
on:
push: {}
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
testTask: [runTestC2MEServer]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 22
java-package: jdk
- name: Install LLVM
uses: KyleMayes/install-llvm-action@v2
with:
version: "18.1.8"
- name: Install required dependencies
run: sudo apt install libtinfo5
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
./.gradle/loom-cache
key: ${{ runner.os }}-gradle4-test-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle4-test-
- name: Test C2ME
run: |
./gradlew clean ${{ matrix.testTask }}