blob: 20f7cb41816c37c9690ee39b550e67c810e8dd57 [file] [log] [blame]
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -04001name: CI
2on:
3 push:
Davide Pesaventoc4343232021-08-13 23:17:05 -04004 paths-ignore:
5 - 'docs/**'
6 - '*.md'
7 - '.mailmap'
8 - '.travis.yml'
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -04009 workflow_dispatch:
10
Davide Pesaventoc4343232021-08-13 23:17:05 -040011permissions:
12 contents: read
13
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -040014jobs:
15 linux:
16 name: ${{ matrix.compiler }} on ${{ matrix.os }}
17 strategy:
18 fail-fast: false
19 matrix:
20 compiler: [g++-8, g++-9, g++-10, g++-11,
21 clang++-7, clang++-8, clang++-9, clang++-10, clang++-11, clang++-12]
22 os: [ubuntu-20.04]
23 include:
24 - compiler: g++-7
25 os: ubuntu-18.04
26 - compiler: clang++-5.0
27 os: ubuntu-18.04
28 - compiler: clang++-6.0
29 os: ubuntu-18.04
30 runs-on: ${{ matrix.os }}
31 env:
32 CXX: ${{ matrix.compiler }}
33 NODE_LABELS: Linux Ubuntu
34 WAF_JOBS: 2
35 steps:
36 - name: Install C++ compiler
37 run: |
38 sudo apt-get -qy install ${CXX/clang++/clang}
39 ${CXX} --version
40 - name: Checkout
41 uses: actions/checkout@v2
42 - name: Build and test
43 run: ./.jenkins
44
45 macos:
46 name: Xcode ${{ matrix.xcode }} on ${{ matrix.os }}
47 strategy:
48 fail-fast: false
49 matrix:
50 xcode: ['11.3', '11.7', '12.4']
51 os: [macos-10.15]
52 runs-on: ${{ matrix.os }}
53 env:
54 NODE_LABELS: OSX OSX-10.15
55 WAF_JOBS: 3
56 steps:
57 - name: Set up Xcode
58 uses: maxim-lobanov/setup-xcode@v1
59 with:
60 xcode-version: ${{ matrix.xcode }}
61 - name: Checkout
62 uses: actions/checkout@v2
63 - name: Build and test
64 run: ./.jenkins