-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1010 Bytes
/
CI.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
name: CI
on:
workflow_dispatch:
push:
branches: main
pull_request:
branches: main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
# cache: 'pip'
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: win32
- name: "create build dir"
shell: cmd
run: mkdir build
- name: "configure cmake"
shell: cmd
run: cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DUSE_CONFIGURE_DATE=ON -DCMAKE_INSTALL_PREFIX=../install ..
- name: "cmake build"
shell: cmd
run: cd build && cmake --build .
- name: "cmake install"
shell: cmd
run: cd build && cmake --install .
- uses: actions/upload-artifact@v4
with:
name: flame
path: install/
if-no-files-found: error