diff --git a/.github/workflows/main.yml b/.github/workflows/pullrequest.yml similarity index 96% rename from .github/workflows/main.yml rename to .github/workflows/pullrequest.yml index c868cc2fcb..634edcc3f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/pullrequest.yml @@ -1,7 +1,5 @@ -name: Build +name: Pull Request on: - push: - branches: [ master ] pull_request: branches: [ master ] jobs: @@ -79,4 +77,4 @@ jobs: - run: chmod +x llvm.sh - run: sudo ./llvm.sh 10 - run: sudo apt-get install -y ocl-icd-opencl-dev clang-10 lldb-10 lld-10 clangd-10 - - run: mvn verify -P wasmllvmtestsonly + - run: mvn verify -P wasmllvmtestsonly \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index a4dd22fbb0..62ca48acf2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,6 @@ language: java jdk: - openjdk8 - - openjdk11 - - openjdk12 - - openjdk13 cache: directories: @@ -19,8 +16,6 @@ cache: - $HOME/.cache/install-jdk before_install: - - wget -N https://github.com/sormuras/bach/raw/master/install-jdk.sh -P ~/ - - sudo chmod +x ~/install-jdk.sh - sudo chmod +x .travis/deploy.sh - sudo wget https://apt.llvm.org/llvm-snapshot.gpg.key - sudo apt-key add llvm-snapshot.gpg.key @@ -40,37 +35,6 @@ script: jobs: include: - - stage: "Compiler Target Tests" - name: "JS Target OpenJDK 8" - script: mvn -B -pl '!:bytecoder-integrationtest' clean test -P jstestsonly - - script: mkdir /home/travis/openjdk11 && ~/install-jdk.sh -W /home/travis/openjdk11 -F 11 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P jstestsonly - name: "JS Target OpenJDK 11" - - script: mkdir /home/travis/openjdk12 && ~/install-jdk.sh -W /home/travis/openjdk12 -F 12 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P jstestsonly - name: "JS Target OpenJDK 12" - - script: mkdir /home/travis/openjdk13 && ~/install-jdk.sh -W /home/travis/openjdk13 -F 13 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P jstestsonly - name: "JS Target OpenJDK 13" - - script: mkdir /home/travis/openjdk14 && ~/install-jdk.sh -W /home/travis/openjdk14 -F 14 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P jstestsonly - name: "JS Target OpenJDK 14" - - script: mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmtestsonly_reloop - name: "WASM Target Reloop OpenJDK 8" - - script: mkdir /home/travis/openjdk11 && ~/install-jdk.sh -W /home/travis/openjdk11 -F 11 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmtestsonly_reloop - name: "WASM Target Reloop OpenJDK 11" - - script: mkdir /home/travis/openjdk12 && ~/install-jdk.sh -W /home/travis/openjdk12 -F 12 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmtestsonly_reloop - name: "WASM Target Reloop OpenJDK 12" - - script: mkdir /home/travis/openjdk13 && ~/install-jdk.sh -W /home/travis/openjdk13 -F 13 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmtestsonly_reloop - name: "WASM Target Reloop OpenJDK 13" - - script: mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmtestsonly_stackify - name: "WASM Target Stackify OpenJDK 8" - - script: mkdir /home/travis/openjdk11 && ~/install-jdk.sh -W /home/travis/openjdk11 -F 11 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmtestsonly_stackify - name: "WASM Target Stackify OpenJDK 11" - - script: mkdir /home/travis/openjdk12 && ~/install-jdk.sh -W /home/travis/openjdk12 -F 12 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmtestsonly_stackify - name: "WASM Target Stackify OpenJDK 12" - - script: mkdir /home/travis/openjdk13 && ~/install-jdk.sh -W /home/travis/openjdk13 -F 13 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmtestsonly_stackify - name: "WASM Target Stackify OpenJDK 13" - - script: mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmllvmtestsonly - name: "LLVM WASM Target OpenJDK 8" - - script: mkdir /home/travis/openjdk14 && ~/install-jdk.sh -W /home/travis/openjdk14 -F 14 -L GPL && mvn -B -pl '!:bytecoder-integrationtest' clean test -P wasmllvmtestsonly - name: "LLVM WASM Target OpenJDK 14" - stage: "Deploy to Maven Central" script: skip deploy: diff --git a/pom.xml b/pom.xml index 51df6a042d..a2fbe13d61 100644 --- a/pom.xml +++ b/pom.xml @@ -282,6 +282,7 @@ --add-exports=java.desktop/sun.java2d=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED + --add-exports=java.xml/com.sun=ALL-UNNAMED @@ -306,6 +307,7 @@ --add-exports=java.desktop/sun.java2d=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED + --add-exports=java.xml/com.sun=ALL-UNNAMED @@ -330,6 +332,7 @@ --add-exports=java.desktop/sun.java2d=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED + --add-exports=java.xml/com.sun=ALL-UNNAMED @@ -354,6 +357,7 @@ --add-exports=java.desktop/sun.java2d=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED + --add-exports=java.xml/com.sun=ALL-UNNAMED