Improves INVOKE state machine code #154
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: Testbeds | |
on: [push] | |
jobs: | |
build-jdk8: | |
runs-on: ubuntu-latest | |
env: | |
DATE_FILE: ./date.txt | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Run Maven install | |
run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
- name: Cache Maven local repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-services-java-${{ steps.get-date.outputs.date }} | |
build-jdk11: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Run Maven install | |
run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
- name: Cache Maven local repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-services-java-${{ steps.get-date.outputs.date }} | |
build-jdk17: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Run Maven install | |
run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
- name: Cache Maven local repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-services-java-${{ steps.get-date.outputs.date }} | |
# build-jdk21: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Get Date | |
# id: get-date | |
# run: | | |
# echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
# shell: bash | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-java@v3 | |
# with: | |
# java-version: '21' | |
# distribution: 'adopt' | |
# - name: Run Maven install | |
# run: mvn --batch-mode --update-snapshots -P ESA -DskipTests install | |
# - name: Cache Maven local repository | |
# uses: actions/cache@v3 | |
# with: | |
# path: ~/.m2/repository | |
# key: ${{ runner.os }}-maven-mo-services-java-${{ steps.get-date.outputs.date }} | |
build-testbeds-jdk8: | |
needs: build-jdk8 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-services-java-${{ steps.get-date.outputs.date }} | |
- name: Run the testbeds install | |
run: mvn --batch-mode --update-snapshots -pl '!testbed-malspp-framework,!testbed-malspp' -P ESA -DskipTests clean install # disable malspp for now | |
working-directory: testbeds | |
- name: Cache Maven local repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
build-testbeds-jdk11: | |
needs: build-jdk11 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-services-java-${{ steps.get-date.outputs.date }} | |
- name: Run the testbeds install | |
run: mvn --batch-mode --update-snapshots -pl '!testbed-malspp-framework,!testbed-malspp' -P ESA -DskipTests clean install # disable malspp for now | |
working-directory: testbeds | |
- name: Cache Maven local repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
build-testbeds-jdk17: | |
needs: build-jdk17 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-services-java-${{ steps.get-date.outputs.date }} | |
- name: Run the testbeds install | |
run: mvn --batch-mode --update-snapshots -pl '!testbed-malspp-framework,!testbed-malspp' -P ESA -DskipTests clean install # disable malspp for now | |
working-directory: testbeds | |
- name: Cache Maven local repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
# build-testbeds-jdk21: | |
# needs: build-jdk21 | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Get Date | |
# id: get-date | |
# run: | | |
# echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
# shell: bash | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-java@v3 | |
# with: | |
# java-version: '21' | |
# distribution: 'adopt' | |
# - name: Restore Maven local repository from cache | |
# uses: actions/cache@v3 | |
# with: | |
# path: ~/.m2/repository | |
# key: ${{ runner.os }}-maven-mo-services-java-${{ steps.get-date.outputs.date }} | |
# - name: Run the testbeds install | |
# run: mvn --batch-mode --update-snapshots -pl '!testbed-malspp-framework,!testbed-malspp' -P ESA -DskipTests install # disable malspp for now | |
# working-directory: testbeds | |
# - name: Cache Maven local repository | |
# uses: actions/cache@v3 | |
# with: | |
# path: ~/.m2/repository | |
# key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
testbed-mal-jdk8: | |
needs: build-testbeds-jdk8 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for MAL | |
run: mvn --batch-mode --update-snapshots -P ESA test | |
working-directory: testbeds/testbed-mal | |
- name: Upload report for MAL testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-mal-report | |
path: testbeds/testbed-mal/target/surefire-reports/ | |
testbed-mal-jdk11: | |
needs: build-testbeds-jdk11 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for MAL | |
run: mvn --batch-mode --update-snapshots -P ESA test | |
working-directory: testbeds/testbed-mal | |
- name: Upload report for MAL testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-mal-report | |
path: testbeds/testbed-mal/target/surefire-reports/ | |
testbed-mal-jdk17: | |
needs: build-testbeds-jdk17 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for MAL | |
run: mvn --batch-mode --update-snapshots -P ESA test | |
working-directory: testbeds/testbed-mal | |
- name: Upload report for MAL testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-mal-report | |
path: testbeds/testbed-mal/target/surefire-reports/ | |
# testbed-mal-jdk21: | |
# needs: build-testbeds-jdk21 | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Get Date | |
# id: get-date | |
# run: | | |
# echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
# shell: bash | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-java@v3 | |
# with: | |
# java-version: '21' | |
# distribution: 'adopt' | |
# - name: Restore Maven local repository from cache | |
# uses: actions/cache@v3 | |
# with: | |
# path: ~/.m2/repository | |
# key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
# - name: Run the Testbed for MAL | |
# run: mvn --batch-mode --update-snapshots -P ESA test | |
# working-directory: testbeds/testbed-mal | |
# - name: Upload report for MAL testbed | |
# if: always() | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: testbed-mal-report | |
# path: testbeds/testbed-mal/target/surefire-reports/ | |
testbed-com-jdk8: | |
needs: build-testbeds-jdk8 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for COM | |
run: mvn --batch-mode --update-snapshots -P ESA test | |
working-directory: testbeds/testbed-com | |
- name: Upload report for COM testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-com-report | |
path: testbeds/testbed-com/target/surefire-reports/ | |
testbed-com-jdk11: | |
needs: build-testbeds-jdk11 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for COM | |
run: mvn --batch-mode --update-snapshots -P ESA test | |
working-directory: testbeds/testbed-com | |
- name: Upload report for COM testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-com-report | |
path: testbeds/testbed-com/target/surefire-reports/ | |
testbed-com-jdk17: | |
needs: build-testbeds-jdk17 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for COM | |
run: mvn --batch-mode --update-snapshots -P ESA test | |
working-directory: testbeds/testbed-com | |
- name: Upload report for COM testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-com-report | |
path: testbeds/testbed-com/target/surefire-reports/ | |
# testbed-com-jdk21: | |
# needs: build-testbeds-jdk21 | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Get Date | |
# id: get-date | |
# run: | | |
# echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
# shell: bash | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-java@v3 | |
# with: | |
# java-version: '21' | |
# distribution: 'adopt' | |
# - name: Restore Maven local repository from cache | |
# uses: actions/cache@v3 | |
# with: | |
# path: ~/.m2/repository | |
# key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
# - name: Run the Testbed for COM | |
# run: mvn --batch-mode --update-snapshots -P ESA test | |
# working-directory: testbeds/testbed-com | |
# - name: Upload report for COM testbed | |
# if: always() | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: testbed-com-report | |
# path: testbeds/testbed-com/target/surefire-reports/ | |
testbed-malspp-jdk8: | |
if: ${{ false }} # disable for now | |
needs: build-testbeds-jdk8 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for MAL/SPP | |
run: mvn --batch-mode --update-snapshots -P DLR test | |
working-directory: testbeds/testbed-malspp | |
- name: Upload report for MAL/SPP testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-malspp-report | |
path: testbeds/testbed-malspp/target/surefire-reports/ | |
testbed-malspp-jdk11: | |
if: ${{ false }} # disable for now | |
needs: build-testbeds-jdk11 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for MAL/SPP | |
run: mvn --batch-mode --update-snapshots -P DLR test | |
working-directory: testbeds/testbed-malspp | |
- name: Upload report for MAL/SPP testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-malspp-report | |
path: testbeds/testbed-malspp/target/surefire-reports/ | |
testbed-malspp-jdk17: | |
if: ${{ false }} # disable for now | |
needs: build-testbeds-jdk17 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
shell: bash | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Restore Maven local repository from cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
- name: Run the Testbed for MAL/SPP | |
run: mvn --batch-mode --update-snapshots -P DLR test | |
working-directory: testbeds/testbed-malspp | |
- name: Upload report for MAL/SPP testbed | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testbed-malspp-report | |
path: testbeds/testbed-malspp/target/surefire-reports/ | |
# testbed-malspp-jdk21: | |
# if: ${{ false }} # disable for now | |
# needs: build-testbeds-jdk21 | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Get Date | |
# id: get-date | |
# run: | | |
# echo "::set-output name=date::$(/bin/date -u "+%Y-week-%U")" | |
# shell: bash | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-java@v3 | |
# with: | |
# java-version: '21' | |
# distribution: 'adopt' | |
# - name: Restore Maven local repository from cache | |
# uses: actions/cache@v3 | |
# with: | |
# path: ~/.m2/repository | |
# key: ${{ runner.os }}-maven-mo-testbeds-${{ steps.get-date.outputs.date }} | |
# - name: Run the Testbed for MAL/SPP | |
# run: mvn --batch-mode --update-snapshots -P DLR test | |
# working-directory: testbeds/testbed-malspp | |
# - name: Upload report for MAL/SPP testbed | |
# if: always() | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: testbed-malspp-report | |
# path: testbeds/testbed-malspp/target/surefire-reports/ |