blob: 49216c83187891a193a36a9bf1f25a8ea4450ebd [file] [log] [blame]
Varun Patil3d850902020-11-23 12:19:14 +05301name: Build
2
3on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8
9jobs:
10 linux:
11 runs-on: ${{ matrix.os }}
Varun Patila24bd3e2020-11-24 10:08:33 +053012 name: ${{ matrix.os }}
Varun Patil3d850902020-11-23 12:19:14 +053013
14 strategy:
15 matrix:
16 os: [Ubuntu-18.04, Ubuntu-20.04]
17
18 env:
19 NODE_LABELS: "Linux Ubuntu ${{ matrix.os }}"
Varun Patila24bd3e2020-11-24 10:08:33 +053020 WAF_JOBS: 4
21 JOB_NAME: limited-build
Varun Patil3d850902020-11-23 12:19:14 +053022
23 steps:
24 - uses: actions/checkout@v2
25
26 - name: Run build script
27 run: |
28 ./.jenkins
Varun Patila24bd3e2020-11-24 10:08:33 +053029
30 ubuntu-ppa:
31 runs-on: ubuntu-latest
32 name: Ubuntu PPA build
33
34 steps:
35 - uses: actions/checkout@v2
36
37 - name: Run build script
38 run: |
39 sudo apt install -y software-properties-common
40 sudo add-apt-repository ppa:named-data/ppa -y
41 sudo apt update
42 sudo apt-get install nfd libndn-cxx-dev libchronosync-dev
43 sudo apt-get install libcrypto++-dev libboost-all-dev qt5-default
44 ./waf --color=yes configure --debug
45 ./waf --color=yes build -j4
46
47 macos:
48 runs-on: ${{ matrix.os }}
49 continue-on-error: false
50 name: Xcode ${{ matrix.xcode }}
51
52 strategy:
53 matrix:
54 os: [macos-latest]
55 xcode: [11.3.1, 11.7, 12.2]
56
57 env:
58 WAF_JOBS: 4
59 JOB_NAME: limited-build
60
61 steps:
62 - uses: actions/checkout@v2
63
64 - name: Run build script
65 run: |
66 sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
67 export NODE_LABELS="OSX OSX-$(sw_vers -productVersion | cut -d . -f -2)"
68 ./.jenkins