You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2023/04/30 03:40:13 UTC
[mina] branch 2.2.X updated: Added github actions
This is an automated email from the ASF dual-hosted git repository.
elecharny pushed a commit to branch 2.2.X
in repository https://gitbox.apache.org/repos/asf/mina.git
The following commit(s) were added to refs/heads/2.2.X by this push:
new 6a54e0ab3 Added github actions
6a54e0ab3 is described below
commit 6a54e0ab313a84f67a47010f8696244a494c6c06
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Sun Apr 30 05:40:06 2023 +0200
Added github actions
---
.github/workflows/ci.yaml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 000000000..bc9b720ba
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,26 @@
+---
+name: Java CI
+
+on: [push]
+
+jobs:
+ test:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-18.04, macOS-latest, windows-2016]
+ java: [7, 8, 11, 17, 20]
+ fail-fast: false
+ max-parallel: 4
+ name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up JDK
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: Test with Maven
+ run: mvn test -B --file pom.xml
+
+...