-
Notifications
You must be signed in to change notification settings - Fork 20
45 lines (39 loc) · 1.02 KB
/
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
41
42
43
44
45
name: CMake
on:
push:
branches: [main, v0.x]
pull_request:
branches: [main, v0.x]
workflow_dispatch:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build-ubuntu-22:
# GitHub-hosted Ubuntu 22.04 runner
runs-on: ubuntu-22.04
# Use shared steps
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/shared_steps
build-ubuntu-20:
# GitHub-hosted Ubuntu 20.04 runner
runs-on: ubuntu-20.04
# Use shared steps
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/shared_steps
build-macos-12:
# GitHub-hosted macOS 14 runner with M1 chip
runs-on: macos-14
# Use shared steps
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/shared_steps
build-windows-2022:
# GitHub-hosted Windows 2022 runner
runs-on: windows-2022
# Use shared steps
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/shared_steps