Skip to content

Commit 3fa28da

Browse files
authored
Create ci.yml
Testing build and test with different java versions
1 parent de3dd7e commit 3fa28da

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow will build a Java project with Maven
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Soot CI with Maven
5+
6+
on:
7+
push:
8+
branches: [ develop ]
9+
pull_request:
10+
branches: [ develop ]
11+
12+
jobs:
13+
buildAndTest:
14+
name: Build and Test with java ${{ matrix.java_version }}
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
java_version: ['8', '9', '11']
19+
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Use Java ${{ matrix.java_version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
java-version: ${{ matrix.java_version }}
26+
27+
- name: Build and test Java ${{ matrix.java_version }}
28+
run: |
29+
mvn clean test -PJava${{ matrix.java_version }}

0 commit comments

Comments
 (0)