This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 5282f47  Test Netbeans build system
     new a9d6a47  Merge pull request #2187 from hectorespert/local_tests
5282f47 is described below

commit 5282f47e0225d06f5fbdd5650c125d3be27dc3da
Author: Hector Espert <hectorespertpa...@gmail.com>
AuthorDate: Sun Jun 14 01:28:09 2020 +0200

    Test Netbeans build system
---
 .github/workflows/main.yml                         | 23 ++++++++++++++++++++++
 nbbuild/build.xml                                  |  2 +-
 .../unit/src/org/netbeans/nbbuild/TestBase.java    |  9 ---------
 3 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1ae04eb..9eb514b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -44,3 +44,26 @@ jobs:
         
       - name: Test
         run: ant -f platform/core.network test
+        
+  linux:
+    name: Check Build System
+    runs-on: ubuntu-18.04
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+
+      - name: Caching dependencies
+        uses: actions/cache@v2
+        with:
+          path: ~/.hgexternalcache
+          key: ${{ runner.os }}-${{ hashFiles('**/external/binaries-list') }}
+          restore-keys: ${{ runner.os }}-
+
+      - name: Clean
+        run: ant -Dcluster.config=basic clean
+
+      - name: Build
+        run: ant -Dcluster.config=basic build
+
+      - name: Test Netbeans Build System
+        run: ant -Dcluster.config=basic localtest
diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index 45bc1f3..eb17890 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -1377,7 +1377,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
             <element name="test" implicit="true"/>
             <sequential>
                 <mkdir dir="${nb.build.dir}/test/unit/classes"/>
-                <javac srcdir="test/unit/src" 
destdir="${nb.build.dir}/test/unit/classes" debug="true" source="1.7">
+                <javac srcdir="test/unit/src" 
destdir="${nb.build.dir}/test/unit/classes" debug="true" source="1.8">
                     <classpath path="${test.unit.cp}"/>
                     <compilerarg line="-Xlint -Xlint:-serial"/>
                 </javac>
diff --git a/nbbuild/test/unit/src/org/netbeans/nbbuild/TestBase.java 
b/nbbuild/test/unit/src/org/netbeans/nbbuild/TestBase.java
index 90fff86..3d6e734 100644
--- a/nbbuild/test/unit/src/org/netbeans/nbbuild/TestBase.java
+++ b/nbbuild/test/unit/src/org/netbeans/nbbuild/TestBase.java
@@ -281,21 +281,12 @@ abstract class TestBase extends NbTestCase {
         public void checkAccept(String host, int port) {
         }
         @Override
-        public void checkMemberAccess(Class<?> clazz, int which) {
-        }
-        @Override
-        public void checkSystemClipboardAccess() {
-        }
-        @Override
         public void checkSetFactory() {
         }
         @Override
         public void checkCreateClassLoader() {
         }
         @Override
-        public void checkAwtEventQueueAccess() {
-        }
-        @Override
         public void checkPrintJobAccess() {
         }
         @Override


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to