mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-21 17:35:20 +01:00
35 lines
808 B
YAML
35 lines
808 B
YAML
name: Windows x64 Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- boogaloo
|
|
pull_request:
|
|
branches:
|
|
- boogaloo
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Qt
|
|
uses: jurplel/install-qt-action@v3
|
|
with:
|
|
version: '6.7.3'
|
|
host: 'windows'
|
|
target: 'desktop'
|
|
arch: 'win64_msvc2019_64'
|
|
|
|
- name: Install CMake
|
|
run: |
|
|
choco install cmake --installargs '"ADD_CMAKE_TO_PATH=System"' --yes
|
|
|
|
- name: Configure CMake
|
|
run: cmake "D:/a/retro-imager/src" -S . -B build -G "NMake Makefiles" -DCMAKE_PREFIX_PATH:PATH="%Qt5_DIR%"
|
|
|
|
- name: Build the project
|
|
run: cmake "D:/a/retro-imager/src" --build build --config Release
|