-
Notifications
You must be signed in to change notification settings - Fork 22
40 lines (37 loc) · 947 Bytes
/
cmake.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
name: CMake
on:
push:
branches: [ v21 ]
pull_request:
branches: [ v21 ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
# The number of days to retain artifacts
RETENTION_DAYS: 30
jobs:
build-msvc:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake MSVC
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build MSVC
run: cmake --build build --config ${{env.BUILD_TYPE}}
- uses: actions/upload-artifact@v3
with:
name: obsidian-msvc
path: |
addons
data
engines
games
language
modules
ports
presets
scripts
theme
tools
obsidian.exe
retention-days: ${{env.RETENTION_DAYS}}