Skip to content

Commit

Permalink
Test Netbeans build system
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorespert committed Jun 13, 2020
1 parent afd1a95 commit 5282f47
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion nbbuild/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
9 changes: 0 additions & 9 deletions nbbuild/test/unit/src/org/netbeans/nbbuild/TestBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -281,21 +281,12 @@ public void checkConnect(String host, int port) {
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
Expand Down

0 comments on commit 5282f47

Please sign in to comment.