From d156e53a4b225505596337b248794a5b0df4baf2 Mon Sep 17 00:00:00 2001 From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com> Date: Fri, 1 Dec 2023 03:14:18 +0100 Subject: [PATCH] Compacted --- .github/workflows/testbranch.yaml | 570 ++---------------------------- 1 file changed, 29 insertions(+), 541 deletions(-) diff --git a/.github/workflows/testbranch.yaml b/.github/workflows/testbranch.yaml index 67914afa64d..2d3991ad594 100644 --- a/.github/workflows/testbranch.yaml +++ b/.github/workflows/testbranch.yaml @@ -162,299 +162,73 @@ jobs: distribution: 'temurin' java-version: '17' cache: 'maven' - - - name: Build Java test source file .NET Core 6.0 - if: matrix.framework == 'net6.0' - run: javac -cp ./bin/net6.0/JCOReflector.jar ./tests/jvm/java/src/hierarchy/*.java ./tests/jvm/java/src/mscorlib/*.java ./tests/jvm/java/src/nettest/*.java ./tests/jvm/java/src/refout/*.java - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloLock --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNET --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNETEvent --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloIterator --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloHierarchy --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloInterfaces --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket -async --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOutBase --CoreCLRApp:Microsoft.NET6.App - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOut --CoreCLRApp:Microsoft.NET6.App + - name: Prepare extra argument if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - name: Build Java test source file .NET Core 7.0 - if: matrix.framework == 'net7.0' - run: javac -cp ./bin/net7.0/JCOReflector.jar ./tests/jvm/java/src/hierarchy/*.java ./tests/jvm/java/src/mscorlib/*.java ./tests/jvm/java/src/nettest/*.java ./tests/jvm/java/src/refout/*.java + run: echo "EXTRA_ARGUMENT=--CoreCLRApp:Microsoft.NET6.App" >> $GITHUB_ENV - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloLock --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNET --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNETEvent --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloIterator --CoreCLRApp:Microsoft.NET7.App + - name: Prepare extra argument if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloHierarchy --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloInterfaces --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket -async --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOutBase --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net7.0/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOut --CoreCLRApp:Microsoft.NET7.App - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - name: Build Java test source file .NET Core 8.0 - if: matrix.framework == 'net8.0' - run: javac -cp ./bin/net8.0/JCOReflector.jar ./tests/jvm/java/src/hierarchy/*.java ./tests/jvm/java/src/mscorlib/*.java ./tests/jvm/java/src/nettest/*.java ./tests/jvm/java/src/refout/*.java + run: echo "EXTRA_ARGUMENT=--CoreCLRApp:Microsoft.NET7.App" >> $GITHUB_ENV - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloLock - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNET - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNETEvent - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloIterator - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloHierarchy - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloInterfaces - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket -async - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOutBase - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: java -cp "./bin/net8.0/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOut - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - name: Build Java test source file .NET - if: matrix.framework == 'net462' - continue-on-error: true - run: javac -cp ./bin/net462/JCOReflector.jar ./tests/jvm/java/src/hierarchy/*.java ./tests/jvm/java/src/mscorlib/*.java ./tests/jvm/java/src/nettest/*.java ./tests/jvm/java/src/refout/*.java + - name: Build Java test source file + run: javac -cp ./bin/${{ matrix.framework }}/JCOReflector.jar ./tests/jvm/java/src/hierarchy/*.java ./tests/jvm/java/src/mscorlib/*.java ./tests/jvm/java/src/nettest/*.java ./tests/jvm/java/src/refout/*.java - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloLock - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloLock ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNET - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNET ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNETEvent - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloNETEvent ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloIterator - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloIterator ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloHierarchy - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloHierarchy ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloInterfaces - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" hierarchy.HelloInterfaces ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket -async - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" nettest.HelloNETSocket -async ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOutBase - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOutBase ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: java -cp "./bin/net462/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOut - if: matrix.framework == 'net462' + - run: java -cp "./bin/${{ matrix.framework }}/JCOReflector.jar;./tests/jvm/java/src/" refout.HelloRefOut ${{ env.EXTRA_ARGUMENT }} continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 @@ -466,364 +240,78 @@ jobs: - name: Expand Scala package run: Expand-Archive -LiteralPath '.\scala-2.13.5.zip' -DestinationPath .\ -Force - - name: Build Scala test source file .NET Core 6.0 - if: matrix.framework == 'net6.0' + - name: Build Scala test source file shell: cmd run: | cd ./tests/jvm/scala mkdir output - ..\..\..\scala-2.13.5\bin\scalac -toolcp "../../../bin/net6.0/*" -d ./output ./src/main/scala/hierarchy/* ./src/main/scala/mscorlib/* ./src/main/scala/nettest/* ./src/main/scala/refout/* + ..\..\..\scala-2.13.5\bin\scalac -toolcp "../../../bin/${{ matrix.framework }}/*" -d ./output ./src/main/scala/hierarchy/* ./src/main/scala/mscorlib/* ./src/main/scala/nettest/* ./src/main/scala/refout/* - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" mscorlib.HelloLock --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" mscorlib.HelloNet --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" mscorlib.HelloNETEvent --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" mscorlib.HelloIterator --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" hierarchy.HelloHierarchy --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" hierarchy.HelloInterfaces --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" nettest.HelloNETSocket --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" nettest.HelloNETSocket -async --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" refout.HelloRefOutBase --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net6.0/*;./tests/jvm/scala/output" refout.HelloRefOut --CoreCLRApp:Microsoft.NET6.App - shell: cmd - if: matrix.framework == 'net6.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: cd ./tests/jvm/scala && rmdir output /s /q - shell: cmd - continue-on-error: true - - - name: Build Scala test source file .NET Core 7.0 - if: matrix.framework == 'net7.0' - shell: cmd - run: | - cd ./tests/jvm/scala - mkdir output - ..\..\..\scala-2.13.5\bin\scalac -toolcp "../../../bin/net7.0/*" -d ./output ./src/main/scala/hierarchy/* ./src/main/scala/mscorlib/* ./src/main/scala/nettest/* ./src/main/scala/refout/* - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" mscorlib.HelloLock --CoreCLRApp:Microsoft.NET7.App - shell: cmd - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" mscorlib.HelloNet --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" mscorlib.HelloNETEvent --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" mscorlib.HelloIterator --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" hierarchy.HelloHierarchy --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" hierarchy.HelloInterfaces --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" nettest.HelloNETSocket --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" nettest.HelloNETSocket -async --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" refout.HelloRefOutBase --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net7.0/*;./tests/jvm/scala/output" refout.HelloRefOut --CoreCLRApp:Microsoft.NET7.App - shell: cmd - if: matrix.framework == 'net7.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: cd ./tests/jvm/scala && rmdir output /s /q - shell: cmd - continue-on-error: true - - - name: Build Scala test source file .NET Core 8.0 - if: matrix.framework == 'net8.0' - shell: cmd - run: | - cd ./tests/jvm/scala - mkdir output - ..\..\..\scala-2.13.5\bin\scalac -toolcp "../../../bin/net8.0/*" -d ./output ./src/main/scala/hierarchy/* ./src/main/scala/mscorlib/* ./src/main/scala/nettest/* ./src/main/scala/refout/* - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" mscorlib.HelloLock - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" mscorlib.HelloNet - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" mscorlib.HelloNETEvent - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" mscorlib.HelloIterator - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" hierarchy.HelloHierarchy - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" hierarchy.HelloInterfaces - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" nettest.HelloNETSocket - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" nettest.HelloNETSocket -async - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" refout.HelloRefOutBase - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net8.0/*;./tests/jvm/scala/output" refout.HelloRefOut - shell: cmd - if: matrix.framework == 'net8.0' - continue-on-error: true - env: - JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 - JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - - run: cd ./tests/jvm/scala && rmdir output /s /q - shell: cmd - continue-on-error: true - - - name: Build Scala test source file .NET Framework - if: matrix.framework == 'net462' - shell: cmd - run: | - cd ./tests/jvm/scala - mkdir output - ..\..\..\scala-2.13.5\bin\scalac -toolcp "../../../bin/net462/*" -d ./output ./src/main/scala/hierarchy/*.scala ./src/main/scala/mscorlib/* ./src/main/scala/nettest/* ./src/main/scala/refout/* - - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" mscorlib.HelloLock + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" mscorlib.HelloLock ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" mscorlib.HelloNet + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" mscorlib.HelloNet ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" mscorlib.HelloNETEvent + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" mscorlib.HelloNETEvent ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" mscorlib.HelloIterator + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" mscorlib.HelloIterator ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" hierarchy.HelloHierarchy + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" hierarchy.HelloHierarchy ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" hierarchy.HelloInterfaces + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" hierarchy.HelloInterfaces ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" nettest.HelloNETSocket + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" nettest.HelloNETSocket ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" nettest.HelloNETSocket -async + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" nettest.HelloNETSocket -async ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" refout.HelloRefOutBase + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" refout.HelloRefOutBase ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - - run: .\scala-2.13.5\bin\scala -toolcp "./bin/net462/*;./tests/jvm/scala/output" refout.HelloRefOut + - run: .\scala-2.13.5\bin\scala -toolcp "./bin/${{ matrix.framework }}/*;./tests/jvm/scala/output" refout.HelloRefOut ${{ env.EXTRA_ARGUMENT }} shell: cmd - if: matrix.framework == 'net462' continue-on-error: true env: JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 @@ -835,6 +323,6 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: Errors + name: Errors_${{ matrix.framework }} path: .\hs_err_* retention-days: 1