-
Notifications
You must be signed in to change notification settings - Fork 53
53 lines (52 loc) · 1.38 KB
/
CI.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
50
51
52
53
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: "${{ matrix.platform }} with Java ${{ matrix.java-distribution }} version ${{ matrix.java-version }}"
strategy:
matrix:
platform:
- ubuntu-latest
- windows-latest
- macos-latest
java-distribution:
- adopt-hotspot
- temurin
- zulu
java-version:
- 8
- 11
runs-on: ${{ matrix.platform }}
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.java-distribution }}
java-version: ${{ matrix.java-version }}
- name: Build
run: ./gradlew -i -S build
- name: Tomcat Install
run: ./gradlew -i -S tomcatInstall
- name: Start Tomcat
run: ./gradlew -i -S tomcatStart
- name: Stop Tomcat
run: ./gradlew -i -S tomcatStop
- name: Clear Logs Tomcat
run: ./gradlew -i -S tomcatClearLogs
- name: Start Database
run: ./gradlew -i -S hsqlStart
- name: Init Data
run: ./gradlew -i -S dataInit
- name: Stop Database
run: ./gradlew -i -S hsqlStop
- name: Generate Skin
run: ./gradlew -i -S skinGenerate -DskinName=test