ppalaga commented on a change in pull request #3537:
URL: https://github.com/apache/camel-quarkus/pull/3537#discussion_r802665286



##########
File path: .github/workflows/ci-build.yaml
##########
@@ -351,6 +347,51 @@ jobs:
             --fail-at-end \
             clean verify
 
+  integration-tests-alternative-platform:
+    runs-on: ${{ matrix.os }}
+    needs: initial-mvn-install
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ 'windows-latest' ]
+    if: github.event_name != 'pull_request' || 
!contains(github.event.pull_request.labels.*.name, 'JVM')
+    env:
+      MAVEN_OPTS: -Xmx3000m
+    steps:
+      - name: Setup apache-snapshots profile
+        shell: bash
+        if: github.ref == 'refs/heads/camel-main' || github.base_ref == 
'camel-main'
+        run: |
+          echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+      - name: Setup oss-snapshots profile
+        shell: bash
+        if: github.ref == 'refs/heads/quarkus-main' || github.base_ref == 
'quarkus-main'
+        run: |
+          echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" 
>> $GITHUB_ENV
+      - uses: actions/checkout@v2
+      - name: Set up JDK 11
+        uses: actions/setup-java@v2
+        with:
+          distribution: 'temurin'
+          java-version: '11'
+      - name: Download Maven Repo
+        uses: actions/download-artifact@v2
+        with:
+          name: maven-repo
+          path: ..
+      - name: Extract Maven Repo
+        shell: bash
+        run: |
+          tar -xzf ../maven-repo.tgz -C ~
+      - name: cd integration-tests && mvn clean verify
+        shell: bash
+        run: |
+          cd integration-tests
+          ../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
+            -Dskip-testcontainers-tests -Dformatter.skip -Dimpsort.skip 
-Denforcer.skip \

Review comment:
       I see. This post seems to explain all the details an options: 
https://stackoverflow.com/a/66078265 
   
   `windows-latest` still points at Windows 2019, which only has WSL1 
https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#enabled-windows-optional-features
   
   ... and it is the same for Windows 2022 
https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md#enabled-windows-optional-features




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to