-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 1.09 KB
/
windows.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
on: [push, pull_request]
jobs:
splitByBuildTypesTrue:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- { os: windows-2016, name: "VISUAL", version: "15", buildType: "Debug" }
- { os: windows-2016, name: "VISUAL", version: "15", buildType: "Release" }
- { os: windows-2019, name: "VISUAL", version: "16", buildType: "Debug" }
- { os: windows-2019, name: "VISUAL", version: "16", buildType: "Release" }
name: ${{ matrix.config.name }} ${{ matrix.config.version }} ${{ matrix.config.buildType }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9.2'
- name: Install Conan
run: |
pip install bincrafters_package_tools
conan user
- name: Run
env:
CONAN_BUILD_TYPES: ${{ matrix.config.buildType }}
CONAN_VISUAL_VERSIONS: ${{ matrix.config.version }}
CONAN_CMAKE_GENERATOR: Ninja
CC: cl.exe
CXX: cl.exe
run: |
python build.py