-
-
Notifications
You must be signed in to change notification settings - Fork 29
33 lines (25 loc) · 686 Bytes
/
Copy pathmain.yml
File metadata and controls
33 lines (25 loc) · 686 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
name: CI
on: [push, workflow_dispatch]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.10.2'
- name: Setup MSVC
if: runner.os == 'Windows'
uses: ilammy/msvc-dev-cmd@v1
- name: Configure CMake
run: cmake --preset release
- name: Build
run: cmake --build --preset release