-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f44787
commit c3ccea3
Showing
1 changed file
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\**' |