-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (41 loc) · 1.35 KB
/
Win64-Clang.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
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: Win64 - Clang
on:
push:
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
job:
name: ${{ matrix.os }}-${{ github.workflow }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.29.2
ninjaVersion: 1.11.1
- name: Restore from cache and setup vcpkg executable and data files.
uses: lukka/run-vcpkg@v11
with:
vcpkgJsonGlob: 'vcpkg.json'
- name: Build and test Game in Debug mode
uses: lukka/run-cmake@v10
with:
configurePreset: 'windows-clang-debug'
buildPreset: 'windows-clang-debug'
testPreset: 'test-windows-clang-debug'
- name: Build and test Editor in Release mode
uses: lukka/run-cmake@v10
with:
configurePreset: 'windows-clang-release-editor'
buildPreset: 'windows-clang-release-editor'
testPreset: 'test-windows-clang-release-editor'