Skip to content

Windows MHA Nightly #60

Windows MHA Nightly

Windows MHA Nightly #60

name: Windows MHA Nightly
on:
schedule:
- cron: '0 5 * * *' # run at 5 AM UTC
workflow_dispatch:
jobs:
build:
runs-on: windows-2022
steps:
- name: Checkout xLights
run: git clone -b moving_head_adv https://github.com/xLightsSequencer/xLights.git C:/xLights/ --depth 1 --depth=1 --shallow-submodules --recurse-submodules
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1
# - name: install Inno
# run: choco install innosetup
- name: install python dependency
run: pip install in_place
- name: generate nightly version number
working-directory: C:/xLights/build_scripts/msw
run: python WriteNightlyVersionFiles.py
- name: Download wxWidgets
run:
git clone --depth=1 --shallow-submodules --recurse-submodules -b master https://github.com/xLightsSequencer/wxWidgets C:/wxWidgets/
- name: Build wxWidgets
working-directory: C:/wxWidgets/
run: msbuild /m .\build\msw\wx_vc17.sln /p:Configuration="Release" /p:Platform="x64"
- name: Build All
shell: cmd
working-directory: C:/xLights/build_scripts/msw
run: call build_VS_x64_skip_libltc.cmd
- name: Build Installer
working-directory: C:/xLights/build_scripts/msw
run: ISCC.exe xLights_4_64bit_VS.iss
- name: Upload Installer
uses: actions/upload-artifact@v2
with:
name: xLights_x64_Installer
path: 'C:\xLights\build_scripts\msw\output\**'