-
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (45 loc) · 951 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
push:
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
cxx:
- clang++
- g++
cxx_version:
- c++14
- c++17
- c++2a
exclude:
- os: ubuntu-latest
cxx: clang++
cxx_version: c++2a
- os: ubuntu-latest
cxx: g++
cxx_version: c++2a
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: install dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt update
sudo apt install libboost-all-dev
- name: install dependencies
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install boost
- name: test
run: |
make -B
env:
CXX: ${{ matrix.cxx }}
CXX_VERSION: ${{ matrix.cxx_version }}