You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/05/27 19:34:25 UTC
[camel] branch main updated: (chores) ci: added support for building Camel on alternative OSes
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new d8da1251e17 (chores) ci: added support for building Camel on alternative OSes
d8da1251e17 is described below
commit d8da1251e17f8bb2e8a9ab67d3a62665e82302c7
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri May 27 16:51:07 2022 +0200
(chores) ci: added support for building Camel on alternative OSes
---
.github/workflows/alternative-os-build.yml | 48 ++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/.github/workflows/alternative-os-build.yml b/.github/workflows/alternative-os-build.yml
new file mode 100644
index 00000000000..ed84b9a5cfa
--- /dev/null
+++ b/.github/workflows/alternative-os-build.yml
@@ -0,0 +1,48 @@
+#
+# 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: checkstyle build
+
+on:
+ schedule:
+# Every 5th minute every 3 hours during working days
+ - cron: '20 * * * 1'
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [windows-latest, macos-latest, windows-2019]
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ persist-credentials: false
+ - name: Set up JDK ${{ matrix.os }}
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'temurin'
+ java-version: 11
+ cache: 'maven'
+ - name: mvn sourcecheck ${{ matrix.os }}
+ run: mvn -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Pformat,fastinstall -DskipTests verify
+ - name: Archive logs ${{ matrix.os }}
+ uses: actions/upload-artifact@v3
+ if: always()
+ with:
+ name: checkstyle.log
+ path: checkstyle.log