-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 1.06 KB
/
cmake-build-editor-win.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
name: Build Editor Windows
on:
workflow_dispatch:
pull_request:
branches: [ main ]
jobs:
build-editor-win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Get Conan
uses: turtlebrowser/[email protected]
- name: Conan setup and install dependencies
working-directory: ${{github.workspace}}/editor
run: |
conan profile detect --force
conan config install ../conan_config
conan install . --build=missing --profile windows_profile
conan install . --build=missing --profile windows_profile -s build_type=Debug
./build/generators/conanbuild.bat
- name: Configure CMake
working-directory: ${{github.workspace}}/editor
run: cmake --preset conan-default
- name: Build Release
working-directory: ${{github.workspace}}/editor
run: cmake --build --preset conan-release -j
- name: Build Debug
working-directory: ${{github.workspace}}/editor
run: cmake --build --preset conan-debug -j