You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/09/02 17:00:12 UTC
[tomcat-jakartaee-migration] branch main updated: First attempt to configure CI at GitHub
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git
The following commit(s) were added to refs/heads/main by this push:
new 2f936cd First attempt to configure CI at GitHub
2f936cd is described below
commit 2f936cdc3708a57cd213e0b8946d6dae9d491ac2
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Sep 2 18:00:05 2022 +0100
First attempt to configure CI at GitHub
---
.github/workflows/ci.yml | 55 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..963e963
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,55 @@
+# Licensed 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: CI
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
+env:
+ LC_ALL: en_US.UTF-8
+
+jobs:
+ JDKxx_Matrix:
+ strategy:
+ fail-fast: false
+ matrix:
+ java: [ 11, 17, 18, 19-ea ]
+ os: [ ubuntu-latest ]
+ include:
+ - os: windows-latest
+ java: 11
+ name: JDK${{ matrix.java }} ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ steps:
+ - name: Git Checkout
+ uses: actions/checkout@v2
+ - name: Set up Java
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: Build
+ run: |
+ mvn test
+ continue-on-error:
+ true
+ - name: Upload logs
+ uses: actions/upload-artifact@v2
+ with:
+ name: JDK${{ matrix.java }}-${{ matrix.os }}-logs
+ path: output/build/logs/TEST*.txt
+ retention-days: 7
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org