-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 1.4 KB
/
macos.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
on: [push, pull_request]
jobs:
splitByBuildTypesTrue:
runs-on: macos-10.15
strategy:
fail-fast: false
matrix:
compiler:
- { name: "APPLE_CLANG", version: "10.3", versionForConan: "10.0", buildType: "Debug" }
- { name: "APPLE_CLANG", version: "10.3", versionForConan: "10.0", buildType: "Release" }
- { name: "APPLE_CLANG", version: "11.7", versionForConan: "11.0", buildType: "Debug" }
- { name: "APPLE_CLANG", version: "11.7", versionForConan: "11.0", buildType: "Release" }
- { name: "APPLE_CLANG", version: "12.4", versionForConan: "12.0", buildType: "Debug" }
- { name: "APPLE_CLANG", version: "12.4", versionForConan: "12.0", buildType: "Release" }
name: ${{ matrix.compiler.name }} ${{ matrix.compiler.version }} ${{ matrix.compiler.buildType }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9.2'
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ${{ matrix.compiler.version }}
- name: Install Conan
run: |
pip install bincrafters_package_tools
conan user
- name: Run
env:
CONAN_BUILD_TYPES: ${{ matrix.compiler.buildType }}
run: |
export CONAN_${{ matrix.compiler.name }}_VERSIONS="${{ matrix.compiler.versionForConan }}"
python build.py