You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2020/02/18 19:37:37 UTC
[camel-quarkus] branch master updated: build: Do resource hungry
native builds in parallel
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 2bbdea2 build: Do resource hungry native builds in parallel
2bbdea2 is described below
commit 2bbdea21c1094fe7052e5fe8e28fe251277feffe
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Feb 18 17:14:32 2020 +0000
build: Do resource hungry native builds in parallel
---
.github/workflows/pr-build.yaml | 38 ++++++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml
index f13b36f..0a2780c 100644
--- a/.github/workflows/pr-build.yaml
+++ b/.github/workflows/pr-build.yaml
@@ -243,10 +243,8 @@ jobs:
-DskipTests \
-pl :camel-quarkus-integration-test-base64 \
-pl :camel-quarkus-integration-test-bindy \
- -pl :camel-quarkus-integration-test-dataformats-json \
-pl :camel-quarkus-integration-test-snakeyaml \
-pl :camel-quarkus-integration-test-tagsoup \
- -pl :camel-quarkus-integration-test-xslt \
-pl :camel-quarkus-integration-test-csv \
-pl :camel-quarkus-integration-test-dataformat
networking:
@@ -372,9 +370,7 @@ jobs:
-pl :camel-quarkus-integration-test-bean-validator \
-pl :camel-quarkus-integration-test-dozer \
-pl :camel-quarkus-integration-test-ftp \
- -pl :camel-quarkus-integration-test-infinispan \
-pl :camel-quarkus-integration-test-mail \
- -pl :camel-quarkus-integration-test-olingo4 \
-pl :camel-quarkus-integration-test-pdf \
-pl :camel-quarkus-integration-test-stream \
-pl :camel-quarkus-integration-test-tarfile \
@@ -413,6 +409,40 @@ jobs:
-pl :camel-quarkus-integration-test-salesforce \
-pl :camel-quarkus-integration-test-slack \
-pl :camel-quarkus-integration-test-twitter
+ # Do slow (> 10 minute) native builds in parallel
+ memoryhogs:
+ runs-on: ubuntu-latest
+ needs: build
+ strategy:
+ matrix:
+ extension: [ 'dataformats-json', 'infinispan', 'olingo4', 'xslt' ]
+ steps:
+ - name: Set BRANCH_OPTIONS
+ if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
+ run: |
+ echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Set Up Java
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Restore Cache
+ uses: actions/cache@v1
+ with:
+ path: ~/.m2/repository
+ key: maven-${{ github.sha }}
+ restore-keys: |
+ maven-${{ github.sha }}
+ - name: Integration Tests
+ run: |
+ ./mvnw -V -B ${BRANCH_OPTIONS} \
+ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn clean verify \
+ -Dnative \
+ -Ddocker \
+ -DskipTests \
+ -pl :camel-quarkus-integration-test-${{ matrix.extension }}
+
# memoryhogs:
# runs-on: ubuntu-latest
# needs: build