-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 911 Bytes
/
linux-build.yml
File metadata and controls
37 lines (29 loc) · 911 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
35
36
37
name: Linux Build
on:
push:
branches: [ "v0.x" ]
pull_request:
branches: [ "v0.x" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix
# combinations. Consider changing this to true when your workflow is stable.
fail-fast: false
matrix:
cmake_preset: [
"linux-x64-gcc-debug",
"linux-x64-clang-debug",
"linux-x64-gcc-release",
"linux-x64-clang-release"
]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Configure Linux CMake Preset
run: cmake --preset ${{ matrix.cmake_preset }}
shell: bash
- name: Build Linux CMake Preset
run: cmake --build --preset ${{ matrix.cmake_preset }}
shell: bash