-
Notifications
You must be signed in to change notification settings - Fork 31
40 lines (38 loc) · 1.16 KB
/
cpp.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
name: flatdata-cpp
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
env:
CARGO_TERM_COLORS: always
jobs:
GCC:
runs-on: ubuntu-latest
strategy:
matrix:
debug-stats: ["", "-DWITH_DEBUG_DATA_ACCESS_STATISTICS=ON"]
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: sudo apt-get install python3-pip python3-setuptools libboost-filesystem-dev
- name: Generator
run: pip3 install ./flatdata-generator
- name: Build and Test
run: |
CC=gcc CXX=g++ EXTRA_CMAKE_ARGS=${{ matrix.debug-stats }} flatdata-cpp/ci/build-and-test-cpp.sh
Clang:
runs-on: ubuntu-latest
strategy:
matrix:
debug-stats: ["", "-DWITH_DEBUG_DATA_ACCESS_STATISTICS=ON"]
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: sudo apt-get install python3-pip python3-setuptools libboost-filesystem-dev
- name: Generator
run: pip3 install ./flatdata-generator
- name: Build and Test
run: |
CC=clang CXX=clang++ EXTRA_CMAKE_ARGS=${{ matrix.debug-stats }} flatdata-cpp/ci/build-and-test-cpp.sh