mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
windows:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install Qt6
|
|
uses: jurplel/install-qt-action@v4
|
|
with:
|
|
version: '6.8.1'
|
|
arch: 'win64_msvc2022_64'
|
|
cache: true
|
|
aqtversion: '==3.1.21'
|
|
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
with:
|
|
arch: x64
|
|
|
|
- name: Configure
|
|
run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- name: Build
|
|
run: cmake --build build
|
|
|
|
- name: Test
|
|
run: ctest --test-dir build --output-on-failure --exclude-regex "test_editor|test_windbg_provider|test_com_security"
|
|
|
|
- name: Upload build
|
|
uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: Reclass-Windows-x64
|
|
path: |
|
|
build/Reclass.exe
|
|
build/ReclassMcpBridge.exe
|
|
build/Plugins/
|
|
build/*.dll
|
|
build/platforms/
|
|
build/styles/
|
|
build/imageformats/
|
|
build/iconengines/
|
|
build/themes/
|
|
build/screenshot.png
|