-
Notifications
You must be signed in to change notification settings - Fork 89
50 lines (37 loc) · 1.17 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:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
Debug:
name: "Debug"
runs-on: windows-latest
steps:
- name: Clone
uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DANKI_EXTRA_CHECKS=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config Debug
Release:
name: "Release"
runs-on: windows-latest
steps:
- name: Clone
uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release -DANKI_EXTRA_CHECKS=OFF
- name: Build
run: cmake --build ${{github.workspace}}/build --config Release
DLSS:
name: "DLSS"
runs-on: windows-latest
steps:
- name: Clone
uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DANKI_EXTRA_CHECKS=OFF -DANKI_DLSS=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config Release --target Sponza