1
- # Derived from default workflow fo 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
1
name : Test on Maven
5
2
6
3
on :
7
4
[push, pull_request]
8
5
9
6
jobs :
10
-
11
- # test-baseline:
12
- #
13
- # runs-on: ubuntu-16.04
14
- #
15
- # steps:
16
- # - name: Checkout
17
- # uses: actions/checkout@v2
18
- #
19
- # - name: Set up JDK 1.8
20
- # uses: actions/setup-java@v1
21
- # with:
22
- # java-version: 1.8
23
- #
24
- # - name: Install GStreamer
25
- # run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good
26
- #
27
- # - name: Build with Maven
28
- # run: mvn -B verify --file pom.xml
29
-
30
- test-1-14 :
31
-
32
- runs-on : ubuntu-18.04
33
-
34
- steps :
35
- - name : Checkout
36
- uses : actions/checkout@v3
37
-
38
- - name : Set up JDK 1.8
39
- uses : actions/setup-java@v3
40
- with :
41
- java-version : ' 8'
42
- distribution : ' temurin'
43
-
44
- - name : Install GStreamer
45
- run : sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good
46
-
47
- - name : Build with Maven
48
- run : mvn -B verify --file pom.xml
49
-
50
7
test-1-16 :
51
8
52
9
runs-on : ubuntu-20.04
53
10
54
11
steps :
55
12
- name : Checkout
56
13
uses : actions/checkout@v3
57
-
14
+
58
15
- name : Set up JDK 1.8
59
16
uses : actions/setup-java@v3
60
17
with :
61
18
java-version : ' 8'
62
19
distribution : ' temurin'
63
-
20
+
64
21
- name : Install GStreamer
65
22
run : sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
66
-
23
+
67
24
- name : Build with Maven
68
25
run : mvn -B verify --file pom.xml
69
26
@@ -74,15 +31,15 @@ jobs:
74
31
steps :
75
32
- name : Checkout
76
33
uses : actions/checkout@v3
77
-
34
+
78
35
- name : Set up JDK 1.8
79
36
uses : actions/setup-java@v3
80
37
with :
81
38
java-version : ' 8'
82
39
distribution : ' temurin'
83
-
40
+
84
41
- name : Install GStreamer
85
42
run : sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
86
-
43
+
87
44
- name : Build with Maven
88
45
run : mvn -B verify --file pom.xml
0 commit comments