forked from OpenLiberty/ci.maven
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
137 changed files
with
831 additions
and
430 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 |
---|---|---|
|
@@ -22,13 +22,13 @@ jobs: | |
matrix: | ||
# test against latest update of each major Java version, as well as specific updates of LTS versions: | ||
RUNTIME: [ol, wlp] | ||
RUNTIME_VERSION: [22.0.0.12, 23.0.0.3] | ||
RUNTIME_VERSION: [23.0.0.6, 23.0.0.3] | ||
java: [17, 11, 8] | ||
exclude: | ||
- java: 8 | ||
RUNTIME_VERSION: 22.0.0.12 | ||
RUNTIME_VERSION: 23.0.0.3 | ||
- java: 17 | ||
RUNTIME_VERSION: 22.0.0.12 | ||
RUNTIME_VERSION: 23.0.0.3 | ||
name: ${{ matrix.RUNTIME }} ${{ matrix.RUNTIME_VERSION }}, Java ${{ matrix.java }}, Linux | ||
steps: | ||
# Checkout repos | ||
|
@@ -51,6 +51,10 @@ jobs: | |
with: | ||
repository: OpenLiberty/ci.ant | ||
path: ci.ant | ||
- name: Set up Maven | ||
uses: stCarolas/[email protected] | ||
with: | ||
maven-version: 3.9.2 | ||
- name: Cache maven packages | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -60,14 +64,11 @@ jobs: | |
# Install dependencies | ||
- name: Install ci.ant and ci.common | ||
run: | | ||
cd ./ci.ant | ||
mvn clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false | ||
cd ../ci.common | ||
mvn clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false | ||
cd .. | ||
./mvnw -V clean install -f ci.ant --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false | ||
./mvnw -V clean install -f ci.common --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false | ||
# Run tests | ||
- name: Run tests | ||
run: ./mvnw verify --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -Ponline-its -D"invoker.streamLogs"=true -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" | ||
run: ./mvnw -V verify --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -Ponline-its -D"invoker.streamLogs"=true -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" | ||
|
||
# WINDOWS BUILD | ||
build-windows: | ||
|
@@ -77,13 +78,13 @@ jobs: | |
matrix: | ||
# test against latest update of each major Java version, as well as specific updates of LTS versions: | ||
RUNTIME: [ol, wlp] | ||
RUNTIME_VERSION: [22.0.0.12, 23.0.0.3] | ||
RUNTIME_VERSION: [23.0.0.6, 23.0.0.3] | ||
java: [17, 11, 8] | ||
exclude: | ||
- java: 8 | ||
RUNTIME_VERSION: 22.0.0.12 | ||
RUNTIME_VERSION: 23.0.0.3 | ||
- java: 17 | ||
RUNTIME_VERSION: 22.0.0.12 | ||
RUNTIME_VERSION: 23.0.0.3 | ||
name: ${{ matrix.RUNTIME }} ${{ matrix.RUNTIME_VERSION }}, Java ${{ matrix.java }}, Windows | ||
steps: | ||
# Checkout repos | ||
|
@@ -107,14 +108,19 @@ jobs: | |
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
# Install dependencies | ||
- name: Install ci.ant and ci.common | ||
run: | | ||
cd C:/ci.ant | ||
mvn clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false | ||
cd C:/ci.common | ||
mvn clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false | ||
- name: Set up Maven | ||
uses: stCarolas/[email protected] | ||
with: | ||
maven-version: 3.9.2 | ||
# Install ci.ant | ||
- name: Install ci.ant | ||
working-directory: C:/ci.ant | ||
run: .\mvnw.cmd -V clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false | ||
# Install ci.common | ||
- name: Install ci.common | ||
working-directory: C:/ci.common | ||
run: .\mvnw.cmd -V clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false | ||
# Run tests | ||
- name: Run tests | ||
working-directory: C:/ci.maven | ||
run: .\mvnw.cmd verify -Ponline-its --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -D"invoker.streamLogs"=true -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" | ||
run: .\mvnw.cmd -V verify -Ponline-its --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -D"invoker.streamLogs"=true -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.