Skip to content

Commit e455cb1

Browse files
committed
Add CI for maven compiler
1 parent 5bf21ff commit e455cb1

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/maven.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3+
4+
name: CognitiveModule_ModelImplementation_Pilot CI
5+
6+
on: [push,pull_request]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-22.04
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
with:
16+
path: CognitiveModule_ModelImplementation_Pilot
17+
- name: Install jdk 21
18+
run: sudo apt install -y openjdk-21-jre
19+
- name: Set up Java
20+
uses: actions/setup-java@v2
21+
with:
22+
distribution: 'adopt'
23+
java-version: '21'
24+
- name: Debug
25+
run: |
26+
uname -a
27+
mvn --version
28+
java --version
29+
- name: Build and test with Maven
30+
run: |
31+
pushd CognitiveModule_ModelImplementation_Pilot
32+
mvn mvn clean verify -f plugins/eu.coresense.CognitiveModule.parent/pom.xml

0 commit comments

Comments
 (0)