Skip to content

Sanmill v4.16.1 (4236) #280

Sanmill v4.16.1 (4236)

Sanmill v4.16.1 (4236) #280

Workflow file for this run

name: Qt on Windows
on:
push:
branches: [release]
paths:
- 'src/ui/qt/**'
- 'src/*'
- 'src/perfect/**'
pull_request:
types: [review_requested, ready_for_review]
paths:
- 'src/ui/qt/**'
- 'src/*'
- 'src/perfect/**'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup VS
uses: seanmiddleditch/gha-setup-vsdevenv@master
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.7.1'
host: 'windows'
target: 'desktop'
arch: 'win64_msvc2019_64'
modules: 'qtmultimedia'
install-deps: 'true'
setup-python: 'true'
tools: 'tools_cmake'
set-env: 'false'
tools-only: 'false'
aqtversion: '==3.1.7'
py7zrversion: '==0.16.1'
extra: '--external 7z'
- name: Build Qt with CMake
run: |
cd src/ui/qt
set "Qt6_DIR=D:\a\Sanmill\Qt\6.7.1\msvc2019_64\lib\cmake\Qt6"
cmake . -DCMAKE_PREFIX_PATH="D:\\a\\Sanmill\\Qt\\6.7.1\\msvc2019_64"
cmake --build . --target mill-pro --config Release
- name: Archive Qt
uses: actions/upload-artifact@v4
with:
name: mill-pro
path: src/ui/qt/Release/mill-pro.exe