-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 982 Bytes
/
windows-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
name: Windows-Build
on:
push:
tags:
- 'v*'
branches:
- '*'
paths-ignore:
- docs/**
- README.md
- LICENSE
- favicon.ico
- .clang-format
- .clang-tidy
- .gitignore
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Check Ref
run: |
echo "Current ref: ${{ github.ref }}"
- name: CheckOut
uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
aqtversion: '==3.1.*'
version: '6.5.2'
host: 'windows'
target: 'desktop'
arch: 'win64_mingw'
cache: 'true'
cache-key-prefix: 'install-qt-action'
- name: Configure and Build Project
uses: threeal/cmake-action@main
with:
generator: 'MinGW Makefiles'
options: 'NO_CONSOLE:BOOL=OFF GITHUB_ACTION:BOOL=ON CMAKE_BUILD_TYPE:STRING=Release'