blob: e7188d24c721f07a39107441de1ee7b0a4a1ad43 [file] [log] [blame]
Davide Pesavento8f0028d2021-07-27 20:01:06 -04001name: CI
2on:
3 push:
4 pull_request:
5 workflow_dispatch:
6
7jobs:
8 linux:
9 name: ${{ matrix.compiler }} on ${{ matrix.os }}
10 strategy:
11 fail-fast: false
12 matrix:
13 compiler: [g++-8, g++-9, g++-10, g++-11,
14 clang++-7, clang++-8, clang++-9, clang++-10, clang++-11, clang++-12]
15 os: [ubuntu-20.04]
16 include:
17 - compiler: g++-7
18 os: ubuntu-18.04
19 - compiler: clang++-5.0
20 os: ubuntu-18.04
21 - compiler: clang++-6.0
22 os: ubuntu-18.04
23 runs-on: ${{ matrix.os }}
24 env:
25 CXX: ${{ matrix.compiler }}
26 NODE_LABELS: Linux Ubuntu
27 WAF_JOBS: 2
28 steps:
29 - name: Install C++ compiler
30 run: |
31 sudo apt-get -qy install ${CXX/clang++/clang}
32 ${CXX} --version
33 - name: Checkout
34 uses: actions/checkout@v2
35 - name: Build and test
36 run: ./.jenkins
37
38 macos:
39 name: Xcode ${{ matrix.xcode }} on ${{ matrix.os }}
40 strategy:
41 fail-fast: false
42 matrix:
43 xcode: ['11.3', '11.7', '12.4']
44 os: [macos-10.15]
45 runs-on: ${{ matrix.os }}
46 env:
47 NODE_LABELS: OSX OSX-10.15
48 WAF_JOBS: 3
49 steps:
50 - name: Set up Xcode
51 uses: maxim-lobanov/setup-xcode@v1
52 with:
53 xcode-version: ${{ matrix.xcode }}
54 - name: Checkout
55 uses: actions/checkout@v2
56 - name: Build and test
57 run: ./.jenkins