You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2018/11/30 18:52:00 UTC

[GitHub] vdiravka commented on a change in pull request #1558: DRILL-6876: Enable CircleCI builds for JDK 9-11

vdiravka commented on a change in pull request #1558: DRILL-6876: Enable CircleCI builds for JDK 9-11
URL: https://github.com/apache/drill/pull/1558#discussion_r237962947
 
 

 ##########
 File path: .circleci/config.yml
 ##########
 @@ -49,3 +49,132 @@ jobs:
         # TODO: 4. Resolving memory issues without "SlowTest" and "UnlikelyTest" excludedGroups in the build
         command:
           mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608 -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest"
+
+  build_jdk9:
+    machine:
+      enabled: true
+      image: circleci/classic:latest
+    parallelism: 1
+
+    working_directory: ~/drill
+
+    steps:
+    - checkout
+
+    - run:
+        name: Update packages list
+        command:
+          sudo apt-get update
+
+    - run:
+        name: Install java 9
+        command:
+          sudo apt-get -y install openjdk-9-jdk
+
+    - run:
+        name: Set default java 9
+        command:
+          sudo update-java-alternatives --set java-1.9.0-openjdk-amd64
+
+    - run:
+        name: Update maven version
+        command:
+          curl -fsSL https://git.io/vpDIf | bash -s -- 3.5.4
+
+    - run:
+        name: Install libaio1.so library for MySQL integration tests
+        command:
+          sudo apt-get install libaio1 libaio-dev
+    - run:
+        name: Drill project build
+        command:
+          mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608 -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest"
+
+  build_jdk10:
+    machine:
+      enabled: true
+      image: circleci/classic:latest
+    parallelism: 1
+
+    working_directory: ~/drill
+
+    steps:
+    - checkout
+
+    - run:
+        name: Update packages list
+        command:
+          sudo apt-get update
+
+    - run:
+        name: Install java 10
+        command:
+          sudo apt-get -y install openjdk-10-jdk
+
+    - run:
+        name: Set default java 10
+        command:
+          sudo update-java-alternatives --set java-1.10.0-openjdk-amd64
+
+    - run:
+        name: Update maven version
+        command:
+          curl -fsSL https://git.io/vpDIf | bash -s -- 3.5.4
+
+    - run:
+        name: Install libaio1.so library for MySQL integration tests
+        command:
+          sudo apt-get install libaio1 libaio-dev
+    - run:
+        name: Drill project build
+        command:
+          mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608 -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest"
+
+  build_jdk11:
+    machine:
+      enabled: true
+      image: circleci/classic:latest
+    parallelism: 1
+
+    working_directory: ~/drill
+
+    steps:
+    - checkout
+
+    - run:
+        name: Update packages list
+        command:
+          sudo apt-get update
+
+    - run:
+        name: Install java 11
+        command:
+          sudo apt-get -y install openjdk-11-jdk
+
+    - run:
+        name: Set default java 11
+        command:
+          sudo update-java-alternatives --set java-1.11.0-openjdk-amd64
+
+    - run:
+        name: Update maven version
+        command:
+          curl -fsSL https://git.io/vpDIf | bash -s -- 3.5.4
+
+    - run:
+        name: Install libaio1.so library for MySQL integration tests
+        command:
+          sudo apt-get install libaio1 libaio-dev
+    - run:
+        name: Drill project build
+        command:
+          mvn install -Drat.skip=false -Dlicense.skip=false -DskipTests
 
 Review comment:
   Add the comment here why failures are obtained for tests on jdk11. 
   Is it possible to disable one more tests group here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services