-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (49 loc) · 1.16 KB
/
build.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
51
52
53
54
55
56
57
58
59
60
name: CMake Build
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up CMake
uses: lukka/get-cmake@latest
with:
cmakeVersion: "~3.31.0"
ninjaVersion: "^1.12.1"
- name: Build
run: python test.py
build_windows:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up CMake
uses: lukka/get-cmake@latest
with:
cmakeVersion: "~3.31.0"
ninjaVersion: "^1.12.1"
- name: "Enter Visual Studio Developer Command Prompt"
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64
- name: Build
run: python test.py
build_macos:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up CMake
uses: lukka/get-cmake@latest
with:
cmakeVersion: "~3.31.0"
ninjaVersion: "^1.12.1"
- name: Build
run: python test.py