-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced matrix strategy for multiple OSes (#106)
* Introduced matrix strategy for multiple OSes * Simplied tests execution * Reverted some prev changes * Moved Windup build into the main job * Re-order job's steps * Provided releative path to settings.xml file * Removed commented configurations * actions/setup-java@v3 * actions/checkout@v3 * Switched to Java 'temurin' distribution
- Loading branch information
Showing
1 changed file
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,37 +7,33 @@ on: | |
|
||
jobs: | ||
|
||
windup-build: | ||
runs-on: ubuntu-latest | ||
windup-quickstarts-pr-builder-jdk11: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2.3.4 | ||
- name: Checkout windup repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: windup/windup | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
path: windup | ||
- name: Checkout windup repo | ||
uses: actions/checkout@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
java-package: jdk | ||
cache: 'maven' | ||
- name: Build on JDK 11 | ||
run: mvn -B clean install -DskipTests | ||
|
||
windup-quickstarts-pr-builder-jdk11: | ||
runs-on: ubuntu-latest | ||
needs: [windup-build] | ||
steps: | ||
- uses: actions/[email protected] | ||
path: windup-quickstarts | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
java-package: jdk | ||
cache: 'maven' | ||
- name: Build Windup on JDK 11 | ||
run: mvn -B clean install -DskipTests -f windup | ||
- name: Build on JDK 11 | ||
run: mvn -B clean install -s settings.xml -DskipTests && mvn -B clean install -s settings.xml | ||
run: mvn -B clean install -s ./windup-quickstarts/settings.xml -DskipTests -f windup-quickstarts && mvn -B clean install -s ./windup-quickstarts/settings.xml -f windup-quickstarts | ||
|
||
|
||
|