Skip to content

Commit 8bd210d

Browse files
committed
wip
1 parent df56d81 commit 8bd210d

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/deploy-windows.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,40 @@ on:
44
# Sequence of patterns matched against refs/tags
55
tags:
66
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
7-
7+
branches:
8+
- "**"
9+
810
jobs:
911
build:
1012
runs-on: windows-latest
1113
steps:
1214
- name: Cache Qt
1315
id: cache-qt
14-
uses: actions/cache@v1 # not v2!
16+
uses: actions/cache@v4
1517
with:
1618
path: ../Qt
1719
key: ${{ runner.os }}-QtCache
1820

21+
- name: Install python packages
22+
shell: bash
23+
run: python -m pip install jinja2 aqtinstall
1924
- name: Install Qt
20-
uses: jurplel/install-qt-action@v2
21-
with:
22-
cached: ${{ steps.cache-qt.outputs.cache-hit }}
23-
- uses: lukka/get-cmake@latest
24-
- name: Add msbuild to PATH
25-
uses: microsoft/[email protected]
26-
- name: Install jinja2
2725
shell: bash
28-
run: python -m pip install jinja2
26+
run: aqt install-qt -O ../Qt linux desktop 6.8.2 -m qt3d qtshadertools
2927
- name: Install zip
3028
shell: bash
3129
run: choco install -y zip
3230
- name: Checkout
3331
uses: actions/checkout@v2
3432
with:
3533
submodules: true
34+
fetch-depth: 0
3635
- name: CMake
3736
shell: bash
3837
run: |
39-
mkdir build
40-
cd build
41-
cmake -DBUILD_TESTING=OFF ..
38+
cmake -DBUILD_TESTING=OFF -B build
4239
- name: Build
43-
run: msbuild build\dxfplotter.sln /property:Configuration=Release
40+
run: cmake --build build --config Release
4441
- name: Deploy Qt
4542
shell: bash
4643
run: ci/deploywindows.sh

0 commit comments

Comments
 (0)