Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/cv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Apache Netbeans

on:
push:
pull_request:

jobs:
commit-validation:
name: Commit-validation (on Linux)
runs-on: ubuntu-18.04
env:
OPTS: -Dcluster.config=release -Dtest-unit-sys-prop.ignore.random.failures=true
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=release clean

- name: Build
run: ant -Dcluster.config=release build

- name: Validate consistency and basic tests
run: ant -Dcluster.config=release commit-validation

51 changes: 51 additions & 0 deletions .github/workflows/javadoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Apache Netbeans

on:
push:
pull_request:

jobs:
linux-javadoc:
name: Check Javadoc
runs-on: ubuntu-18.04
env:
ANT_OPTS: -Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
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: Get maven coordinates
run: ant getallmavencoordinates

- name: Build nbms
run: ant build-nbms

- name: Build source zips
run: ant build-source-zips

- name: Build javadoc
run: ant build-javadoc
48 changes: 48 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Apache Netbeans

on:
push:
pull_request:

jobs:
linux:
name: Check Linux
runs-on: ubuntu-18.04
env:
ANT_OPTS: -Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
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
56 changes: 56 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Apache Netbeans

on:
push:
pull_request:

jobs:
macos:
name: Commit-validation (on Mac OS X)
runs-on: macos-10.15
env:
ANT_OPTS: -Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: |
~/.hgexternalcache
~/Library/Caches/Homebrew
key: ${{ runner.os }}-${{ hashFiles('**/external/binaries-list') }}
restore-keys: ${{ runner.os }}-

- run: brew install ant

- name: Clean
run: ant clean

- name: Build
run: ant build

- name: Test
run: |
ant -f platform/masterfs.macosx test
ant -f platform/core.network test

- name: Validate consistency and basic tests
run: ant -Dcluster.config=release commit-validation

Loading