Skip to content

Commit

Permalink
Create win CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
computergeek1507 authored Apr 12, 2024
1 parent 2f44787 commit c3ccea3
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions .github/workflows/win_CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Windows xLights CI

on:
push:
branches: [ master ]
paths-ignore:
- '.github/workflows/*.yml'
- '.github/ISSUE_TEMPLATE/*.md'
- 'build_scripts/**'
- 'ci_scripts/**'
- 'cmudict/**'
- 'colorcurves/**'
- 'controllers/**'
- 'documentation/**'
- 'download/**'
- 'images/**'
- 'lib/windows/**'
- 'lib/windows64/**'
- 'meshobjects/**'
- 'palettes/**'
- 'scripts/**'
- 'songs/**'
- 'TipOfDay/**'
- 'valuecurves/**'
- 'xCapture/**'
- 'xFade/**'
- 'xlDo/**'
- 'xScanner/**'
- 'xSchedule/**'
- '*.md'
- '*.yml'
- '*.txt'
- '*.docx'
- 'README.*'
pull_request:
branches: [ master ]
paths-ignore:
- '.github/workflows/*.yml'
- '.github/ISSUE_TEMPLATE/*.md'
- 'build_scripts/**'
- 'ci_scripts/**'
- 'cmudict/**'
- 'colorcurves/**'
- 'controllers/**'
- 'documentation/**'
- 'download/**'
- 'images/**'
- 'meshobjects/**'
- 'palettes/**'
- 'scripts/**'
- 'songs/**'
- 'TipOfDay/**'
- 'valuecurves/**'
- 'xCapture/**'
- 'xFade/**'
- 'xlDo/**'
- 'xScanner/**'
- 'xSchedule/**'
- '*.md'
- '*.yml'
- '*.txt'
- '*.docx'
- 'README.*'
workflow_dispatch:
jobs:
build:
runs-on: windows-2022

steps:
- name: Checkout xLights
run: git clone 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: 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: xLights
working-directory: C:/xLights/xLights
run: msbuild /m:10 xLights.sln /p:Configuration="Release" -p:Platform="x64"

- name: Upload xLights Exe
uses: actions/upload-artifact@v4
with:
name: xLights_Exe
path: 'C:\xLights\xLights\x64\Release\**'

0 comments on commit c3ccea3

Please sign in to comment.