github actions now should run all gcs #10
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 | |
jobs: | |
test-linux: | |
name: "Linux" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 11 | |
- JDK 17 | |
- JDK 21 | |
- JDK Latest | |
include: | |
- jdkconf: JDK 11 | |
jdkver: "11" | |
- jdkconf: JDK 17 | |
jdkver: "17" | |
- 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: DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: NOCOMP=-nocoops DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: "*.tar.gz" | |
test-win: | |
name: "Windows" | |
runs-on: "windows-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 11 | |
- JDK 17 | |
- JDK 21 | |
- JDK Latest | |
include: | |
- jdkconf: JDK 11 | |
jdkver: "11" | |
- jdkconf: JDK 17 | |
jdkver: "17" | |
- 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: DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
shell: msys2 {0} | |
run: NOCOMP=-nocoops DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: "*.tar.gz" | |
test-macos: | |
name: "MacOS" | |
runs-on: "macos-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkconf: | |
- JDK 11 | |
- JDK 17 | |
- JDK 21 | |
- JDK Latest | |
include: | |
- jdkconf: JDK 11 | |
jdkver: "11" | |
- jdkconf: JDK 17 | |
jdkver: "17" | |
- 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: DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: NOCOMP=-nocoops DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: "*.tar.gz" | |
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=8 DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=8 NOCOMP=-nocoops DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: "*.tar.gz" | |
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=8 DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
shell: msys2 {0} | |
run: OTOOL_JDK_VERSION=8 NOCOMP=-nocoops DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: "*.tar.gz" | |
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=8 DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: test all nocoops | |
run: OTOOL_JDK_VERSION=8 NOCOMP=-nocoops DURATION=20 OTOOL_garbageCollector=ALL STAMP=true bash run.sh | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
path: "*.tar.gz" |