Skip to content

Commit 121170b

Browse files
authored
Create maven.yml to add CI actions (#6)
* Create maven.yml Add a CI check for Ubuntu x86_64 running on 8, 11 and latest.
1 parent ea9f682 commit 121170b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/maven.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
# This workflow will build a Java project with Maven
3+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
4+
5+
name: OLCUT CI, OpenJDK 8, 11 and latest - Ubuntu x86_64
6+
7+
on:
8+
push:
9+
branches: [ main, develop ]
10+
pull_request:
11+
branches: [ main, develop ]
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
# test against supported LTS versions and latest
19+
java: [ 8, 11, 14 ]
20+
name: OLCUT - OpenJDK ${{ matrix.java }}
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Setup OpenJDK
24+
uses: actions/setup-java@v1
25+
with:
26+
java-version: ${{ matrix.java }}
27+
- name: Build with Maven
28+
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)