File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed
Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : ["cicsts/v5.5"]
6+ pull_request :
7+ branches : ["cicsts/v5.5"]
8+ schedule :
9+ - cron : ' 0 0 * * *'
10+
11+ jobs :
12+ build-maven :
13+ name : Build Maven
14+
15+ runs-on : ubuntu-latest
16+ continue-on-error : ${{ matrix.experimental }}
17+ strategy :
18+ matrix :
19+ jdk : [8, 11]
20+ experimental : [false]
21+ include :
22+ - jdk : 17
23+ experimental : true
24+ steps :
25+ - uses : actions/checkout@v3
26+ - name : Set up JDK ${{ matrix.jdk }}
27+ uses : actions/setup-java@v3
28+ with :
29+ java-version : ${{ matrix.jdk }}
30+ distribution : " semeru"
31+ cache : maven
32+ - name : Build with Maven
33+ run : mvn --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package
34+ - run : |
35+ mkdir staging
36+ cp cics-java-osgi-jdbc-app/target/*.jar staging
37+ cp cics-java-osgi-jdbc-bundle/target/*.zip staging
38+ - uses : actions/upload-artifact@v4
39+ with :
40+ name : cics-java-osgi-jdbc (Maven, Java ${{ matrix.jdk }})
41+ path : staging
42+
43+ build-gradle :
44+ name : Build Gradle
45+
46+ runs-on : ubuntu-latest
47+ continue-on-error : ${{ matrix.experimental }}
48+ strategy :
49+ matrix :
50+ jdk : [8, 11]
51+ experimental : [false]
52+ include :
53+ - jdk : 17
54+ experimental : true
55+ steps :
56+ - uses : actions/checkout@v3
57+ - name : Set up JDK ${{ matrix.jdk }}
58+ uses : actions/setup-java@v4
59+ with :
60+ java-version : ${{ matrix.jdk }}
61+ distribution : ' semeru'
62+ - uses : gradle/actions/setup-gradle@v3
63+ with :
64+ gradle-version : 7.6
65+ - name : Build with Gradle
66+ run : gradle build -Pjava_version=${{ matrix.jdk }}
You can’t perform that action at this time.
0 commit comments