-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.47 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: 'Windows'
on:
workflow_dispatch:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install Conan
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Update the default profile with compiler settings.
- name: Configure Conan
run: |
conan config set general.default_package_id_mode=full_version_mode
conan profile new default --detect
conan profile update settings.compiler="Visual Studio" default
conan profile update settings.compiler.version=17 default
conan profile update settings.compiler.cppstd=20 default
conan profile update settings.compiler.toolset=v143 default
conan profile update options.assimp:with_gltf=False default
conan profile update options.assimp:with_gltf_exporter=False default
# Just build all dependencies on every build.
- name: Install Dependencies
run: |
mkdir build && cd build
conan install .. -s build_type=Release --build=missing
- name: Configure
working-directory: build
run: conan build .. -c
- name: Build
working-directory: build
run: conan build .. -b
- uses: actions/upload-artifact@v3
if: always()
with:
name: build-artifacts
path: build