Skip to content

Commit cc82548

Browse files
Merge pull request gstreamer-java#292 from codelerity/build-updates
Update build configuration, tests and workflows.
2 parents eefdbd9 + fcd407d commit cc82548

File tree

22 files changed

+683
-204
lines changed

22 files changed

+683
-204
lines changed

.github/workflows/maven.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,36 @@ on:
44
[push, pull_request]
55

66
jobs:
7-
test-1-16:
7+
test-1-24-jdk25:
88

9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-24.04
1010

1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v5
1414

15-
- name: Set up JDK 1.8
16-
uses: actions/setup-java@v3
15+
- name: Set up JDK 25
16+
uses: actions/setup-java@v5
1717
with:
18-
java-version: '8'
18+
java-version: '25'
1919
distribution: 'temurin'
2020

2121
- name: Install GStreamer
2222
run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
2323

2424
- name: Build with Maven
25-
run: mvn -B verify --file pom.xml
25+
run: ./mvnw --batch-mode verify
2626

27-
test-1-20:
27+
test-1-20-jdk8:
2828

2929
runs-on: ubuntu-22.04
3030

3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v5
3434

35-
- name: Set up JDK 1.8
36-
uses: actions/setup-java@v3
35+
- name: Set up JDK 8
36+
uses: actions/setup-java@v5
3737
with:
3838
java-version: '8'
3939
distribution: 'temurin'
@@ -42,4 +42,4 @@ jobs:
4242
run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
4343

4444
- name: Build with Maven
45-
run: mvn -B verify --file pom.xml
45+
run: ./mvnw --batch-mode verify
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
wrapperVersion=3.3.4
2+
distributionType=only-script
3+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
4+
distributionSha256Sum=0d7125e8c91097b36edb990ea5934e6c68b4440eef4ea96510a0f6815e7eeadb

mvnw

Lines changed: 295 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)