You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2020/10/13 18:47:50 UTC
[maven-install-plugin] 01/01: [MINSTALL-164] - Create GitHub Actions
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch MINSTALL-164
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git
commit 72b20313174568fdaa89f6caf7e5c1e76f118609
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sat Nov 2 11:32:39 2019 +0100
[MINSTALL-164] - Create GitHub Actions
---
.github/workflows/jdkbuilds.yml | 40 ++++++++++++++++++++++++++++
.github/workflows/main.yml | 59 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 99 insertions(+)
diff --git a/.github/workflows/jdkbuilds.yml b/.github/workflows/jdkbuilds.yml
new file mode 100644
index 0000000..e5aa9d2
--- /dev/null
+++ b/.github/workflows/jdkbuilds.yml
@@ -0,0 +1,40 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+name: JDKBuilds
+
+on:
+ push:
+ branches:
+ - master
+ - 'releases/*'
+ pull_request:
+ branches:
+ - '*'
+
+jobs:
+ openjdk:
+ strategy:
+ matrix:
+ jdk: [8-slim, 11-slim, 13, 14]
+ name: "OpenJDK ${{ matrix.jdk }}"
+ runs-on: ubuntu-latest
+ container: "maven:3.6.2-jdk-${{ matrix.jdk }}"
+ steps:
+ - uses: actions/checkout@master
+ - name: Test
+ run: mvn -V --no-transfer-progress clean verify -Prun-its
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..72d8482
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,59 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+on:
+ push:
+ branches:
+ - master
+ - 'releases/*'
+ pull_request:
+ branches:
+ - '*'
+
+jobs:
+ linux:
+ name: 'Linux'
+ runs-on: ubuntu-latest
+ container: "maven:3.6.2-jdk-8-slim"
+ steps:
+ - uses: actions/checkout@master
+ - name: 'Test'
+ run: mvn -V --no-transfer-progress clean verify -Prun-its
+
+ windows:
+ name: 'Windows'
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: 'Set up JDK 8'
+ uses: actions/setup-java@v1
+ with:
+ java-version: 8
+ - name: 'Test'
+ shell: bash
+ run: mvn -V --no-transfer-progress clean verify -Prun-its
+ mac:
+ name: 'Mac OS'
+ runs-on: macos-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: 'Set up JDK 8'
+ uses: actions/setup-java@v1
+ with:
+ java-version: 8
+ - name: 'Test'
+ run: mvn -V --no-transfer-progress clean verify -Prun-its