-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (29 loc) · 1.08 KB
/
config.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
# config file to run multiple jobs in parallel with matrix strategy
name: Config Workflow
on:
push:
jobs:
build-and-test:
strategy:
# super important if you want to see all results, even if one fails
# fail-fast is true by default
fail-fast: false
matrix:
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
build-type: ["Release", "Debug"]
use-system-libraries: ["ON", "OFF"]
use-python-bindings: ["OFF", "ON"]
exclude:
# excludes combinations that are not supported
- os: "windows-latest"
build-type: "Release" # TODO: fix this
- os: "windows-latest"
build-type: "Debug"
use-system-libraries: "ON" # different _ITERATOR_DEBUG_LEVEL for system libraries
uses: ./.github/workflows/common-workflow.yml # calls the one above
with:
use-system-libraries: ${{ matrix.use-system-libraries }}
build-type: ${{ matrix.build-type }}
use-python-bindings: ${{ matrix.use-python-bindings }}
os: ${{ matrix.os }}
secrets: inherit