refactor: cleanup and sync
* Fix Jenkins scripts and sync with ndn-cxx
* Sync waf-tools
* Remove ChronoSync submodule
* Remove commented/dead code and includes
* Use ScopedEventId and ScopedRegisteredPrefixHandle
* Set setCanBePrefix to true explicitly everywhere
* Fix macOS build, add GHA CI
* Use NDN_THROW for throwing errors
* Other smaller fixes
Change-Id: I615e0e239511b97101852e1d7c620a2071a18ff8
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f475e24..49216c8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,7 +9,7 @@
jobs:
linux:
runs-on: ${{ matrix.os }}
- name: ${{ matrix.os }} build
+ name: ${{ matrix.os }}
strategy:
matrix:
@@ -17,7 +17,8 @@
env:
NODE_LABELS: "Linux Ubuntu ${{ matrix.os }}"
- WAF_JOBS: 2
+ WAF_JOBS: 4
+ JOB_NAME: limited-build
steps:
- uses: actions/checkout@v2
@@ -25,3 +26,43 @@
- name: Run build script
run: |
./.jenkins
+
+ ubuntu-ppa:
+ runs-on: ubuntu-latest
+ name: Ubuntu PPA build
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Run build script
+ run: |
+ sudo apt install -y software-properties-common
+ sudo add-apt-repository ppa:named-data/ppa -y
+ sudo apt update
+ sudo apt-get install nfd libndn-cxx-dev libchronosync-dev
+ sudo apt-get install libcrypto++-dev libboost-all-dev qt5-default
+ ./waf --color=yes configure --debug
+ ./waf --color=yes build -j4
+
+ macos:
+ runs-on: ${{ matrix.os }}
+ continue-on-error: false
+ name: Xcode ${{ matrix.xcode }}
+
+ strategy:
+ matrix:
+ os: [macos-latest]
+ xcode: [11.3.1, 11.7, 12.2]
+
+ env:
+ WAF_JOBS: 4
+ JOB_NAME: limited-build
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Run build script
+ run: |
+ sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
+ export NODE_LABELS="OSX OSX-$(sw_vers -productVersion | cut -d . -f -2)"
+ ./.jenkins