Enabled duration on cmdline, get rid of jdk_version #64
Workflow file for this run
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
name: "test" | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "*" | |
env: | |
jdk_latest: 21 | |
############### | |
#### jdk21 | |
############### | |
jobs: | |
test-linux: | |
name: "Linux" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 21 | |
- JDK Latest | |
include: | |
- jdkconf: JDK 21 | |
jdkver: "21" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- name: Build | |
run: mvn clean install | |
- name: test all | |
run: OTOOL_JDK_VERSION=21 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=21 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
test-win: | |
name: "Windows" | |
runs-on: "windows-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 21 | |
- JDK Latest | |
include: | |
- jdkconf: JDK 21 | |
jdkver: "21" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
install: make | |
- name: Build win | |
shell: cmd | |
run: mvn clean install | |
- name: test all | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=21 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=21 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
test-macos: | |
name: "MacOS" | |
runs-on: "macos-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 21 | |
- JDK Latest | |
include: | |
- jdkconf: JDK 21 | |
jdkver: "21" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- name: Run | |
run: mvn clean install | |
- name: test all | |
run: OTOOL_JDK_VERSION=21 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=21 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
############### | |
#### jdk21 end | |
############### | |
############### | |
#### jdk8 | |
############### | |
test-linux-jdk8: | |
name: "Linux" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 8 | |
include: | |
- jdkconf: JDK 8 | |
jdkver: "8" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- name: Build | |
run: mvn clean install | |
- name: test all | |
run: OTOOL_JDK_VERSION=7 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=7 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
test-win-jdk8: | |
name: "Windows" | |
runs-on: "windows-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 8 | |
include: | |
- jdkconf: JDK 8 | |
jdkver: "8" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
install: make | |
- name: Build win | |
shell: cmd | |
run: mvn clean install | |
- name: test all | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=7 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=7 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
test-macos-jdk8: | |
name: "MacOS" | |
runs-on: "macos-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 8 | |
include: | |
- jdkconf: JDK 8 | |
jdkver: "8" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- name: Run | |
run: mvn clean install | |
- name: test all | |
run: OTOOL_JDK_VERSION=7 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=7 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
############### | |
#### jdk8 end | |
############### | |
############### | |
#### jdk11 | |
############### | |
test-linux-jdk11: | |
name: "Linux" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 11 | |
include: | |
- jdkconf: JDK 11 | |
jdkver: "11" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- name: Build | |
run: mvn clean install | |
- name: test all | |
run: OTOOL_JDK_VERSION=11 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=11 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
test-win-jdk11: | |
name: "Windows" | |
runs-on: "windows-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 11 | |
include: | |
- jdkconf: JDK 11 | |
jdkver: "11" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
install: make | |
- name: Build win | |
shell: cmd | |
run: mvn clean install | |
- name: test all | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=11 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=11 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
test-macos-jdk11: | |
name: "MacOS" | |
runs-on: "macos-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 11 | |
include: | |
- jdkconf: JDK 11 | |
jdkver: "11" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- name: Run | |
run: mvn clean install | |
- name: test all | |
run: OTOOL_JDK_VERSION=11 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=11 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
############### | |
#### jdk11 end | |
############### | |
############### | |
#### jdk17 | |
############### | |
test-linux-jdk17: | |
name: "Linux" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 17 | |
include: | |
- jdkconf: JDK 17 | |
jdkver: "17" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- name: Build | |
run: mvn clean install | |
- name: test all | |
run: OTOOL_JDK_VERSION=17 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=17 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap" | |
test-win-jdk17: | |
name: "Windows" | |
runs-on: "windows-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 17 | |
include: | |
- jdkconf: JDK 17 | |
jdkver: "17" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
install: make | |
- name: Build win | |
shell: cmd | |
run: mvn clean install | |
- name: test all | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=17 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=17 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
test-macos-jdk17: | |
name: "MacOS" | |
runs-on: "macos-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 17 | |
include: | |
- jdkconf: JDK 17 | |
jdkver: "17" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdkver || env.jdk_latest }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.8.2 | |
- name: Run | |
run: mvn clean install | |
- name: test all | |
run: OTOOL_JDK_VERSION=17 DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=17 NOCOMP=-nocoops DURATION=239 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.gz | |
*.tap | |
############### | |
#### jdk17 end | |
############### |