-
Notifications
You must be signed in to change notification settings - Fork 1
107 lines (100 loc) · 3.58 KB
/
gcc-9.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: gcc-9
on:
push:
branches:
- 'master'
tags:
- 'v*'
pull_request:
branches:
- '*'
jobs:
gcc-9:
name: gcc-9
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: 9
platform: x64
- name: setup doctest
run: bash scripts/download_doctest_header.sh -d include/
- name: build
run: mkdir -p build/ && cd build/ && cmake .. && make -j2 VERBOSE=1
- name: run tests
run: |
build/tests/array/numeric-tests-doctest
build/tests/meta/numeric-tests-doctest-meta
build/tests/utl/meta/numeric-tests-utl-meta
build/tests/utl/array/numeric-tests-utl-array
build/tests/utl/utl/numeric-tests-utl
gcc-9-index:
name: gcc-9-index
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: 9
platform: x64
- name: setup doctest
run: bash scripts/download_doctest_header.sh -d include/
- build:
run: mkdir -p build/ && cd build/ && cmake -DNMTOOLS_TEST_ALL=OFF -DNMTOOLS_BUILD_INDEX_TESTS=ON .. && make -j2 VERBOSE=1 numeric-tests-index-doctest
- name: run tests
run: |
build/tests/index/numeric-tests-index-doctest
gcc-9-constexpr-eval:
name: gcc-9-constexpr-eval
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: 9
platform: x64
- name: setup doctest
run: bash scripts/download_doctest_header.sh -d include/
- name: build
run: mkdir -p build/ && cd build/ && cmake -DNMTOOLS_TESTING_CONSTEXPR=ON -DNMTOOLS_BUILD_META_TESTS=OFF -DNMTOOLS_BUILD_UTL_TESTS=OFF -DNMTOOLS_TEST_ALL=OFF -DNMTOOLS_TEST_ARRAY_EVAL=ON .. && make -j2 VERBOSE=1
- name: run tests
run: |
build/tests/array/numeric-tests-doctest
gcc-9-constexpr-generic-ndarray-eval:
name: gcc-9-constexpr-generic-ndarray-eval
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: 9
platform: x64
- name: setup doctest
run: bash scripts/download_doctest_header.sh -d include/
- name: build
run: mkdir -p build/ && cd build/ && cmake -DNMTOOLS_TESTING_CONSTEXPR=ON -DNMTOOLS_BUILD_META_TESTS=OFF -DNMTOOLS_BUILD_UTL_TESTS=OFF -DNMTOOLS_TEST_ALL=OFF -DNMTOOLS_TEST_ARRAY_EVAL=ON -DNMTOOLS_TESTING_GENERIC_NDARRAY=ON -DNMTOOLS_TESTING_NOSTL=OFF .. && make -j2 VERBOSE=1
- name: run tests
run: |
build/tests/array/numeric-tests-doctest
gcc-9-constexpr-no-stl-generic-ndarray-eval:
name: gcc-9-constexpr-no-stl-generic-ndarray-eval
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: 9
platform: x64
- name: setup doctest
run: bash scripts/download_doctest_header.sh -d include/
- name: build
run: mkdir -p build/ && cd build/ && cmake -DNMTOOLS_TESTING_CONSTEXPR=ON -DNMTOOLS_BUILD_META_TESTS=OFF -DNMTOOLS_BUILD_UTL_TESTS=OFF -DNMTOOLS_TEST_ALL=OFF -DNMTOOLS_TEST_ARRAY_EVAL=ON -DNMTOOLS_TESTING_GENERIC_NDARRAY=ON -DNMTOOLS_TESTING_NOSTL=ON .. && make -j2 VERBOSE=1
- name: run tests
run: |
build/tests/array/numeric-tests-doctest