-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 767 Bytes
/
build.yaml
File metadata and controls
34 lines (30 loc) · 767 Bytes
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
name: Build
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
build-project:
name: Build Project
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Configure Project
uses: threeal/cmake-action@v2.1.0
with:
run-build: false
- name: Build Project
run: cmake --build build --config Release
- name: Install Project
run: cmake --install build --prefix install
- name: Upload Project as Artifact
uses: actions/upload-artifact@v4.6.2
with:
name: package-${{ matrix.os }}
path: install