2026.10 #129
Workflow file for this run
This file contains hidden or 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
| name: Create Ubuntu and Window Releases | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| workflow_dispatch: | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Extract release notes | |
| id: release_notes | |
| run: | | |
| NOTES=$(python3 ci_scripts/release_notes_to_md.py "${GITHUB_REF_NAME}") | |
| { | |
| echo "notes<<RELEASE_NOTES_EOF" | |
| echo "$NOTES" | |
| echo "RELEASE_NOTES_EOF" | |
| } >> "$GITHUB_OUTPUT" | |
| - run: docker pull ghcr.io/xlightssequencer/xlights-build-docker:master | |
| - run: docker run -e XLIGHTS_REF="${GITHUB_REF_NAME}" -e XLIGHTS_VERSION="${GITHUB_REF_NAME}" --name buildvm ghcr.io/xlightssequencer/xlights-build-docker:master /bin/bash Recipe.appimage | |
| - run: 'docker cp buildvm:/xLights/xLights/AppImage/ /tmp/' | |
| - run: ls -lh /tmp/AppImage | |
| - uses: ncipollo/release-action@v1 | |
| with: | |
| allowUpdates: true | |
| draft: true | |
| artifacts: "/tmp/AppImage/*.AppImage" | |
| body: ${{ steps.release_notes.outputs.notes }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| build-windows: | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Checkout xLights | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Setup msbuild | |
| uses: microsoft/setup-msbuild@v3 | |
| - name: install ISPC | |
| uses: ispc/install-ispc-action@main | |
| with: | |
| version: 1.30.0 | |
| - name: Download wxWidgets | |
| run: | |
| git clone --depth=1 --shallow-submodules --recurse-submodules -b xlights_2026.04 https://github.com/xLightsSequencer/wxWidgets ..\wxWidgets\ | |
| - name: Build wxWidgets | |
| working-directory: ..\wxWidgets\ | |
| run: msbuild /m .\build\msw\wx_vc17.sln /p:Configuration="Release" /p:Platform="x64" | |
| - name: Build All | |
| shell: cmd | |
| working-directory: build_scripts\msw | |
| run: call build_VS_x64_skip_libltc.cmd | |
| - name: Build Installer | |
| working-directory: build_scripts\msw | |
| run: ISCC.exe xLights_4_64bit_VS.iss | |
| - name: Stage Windows symbol map | |
| shell: pwsh | |
| run: | | |
| if (-not (Test-Path bin64\xLights.map)) { | |
| throw "bin64\xLights.map not produced - PrepMap step likely failed" | |
| } | |
| Copy-Item bin64\xLights.map "build_scripts\msw\output\xLights-${{ github.ref_name }}-win64.map" | |
| Write-Host "Staged symbol map: $((Get-Item bin64\xLights.map).Length) bytes" | |
| - uses: ncipollo/release-action@v1 | |
| with: | |
| allowUpdates: true | |
| draft: true | |
| omitBodyDuringUpdate: true | |
| artifacts: 'build_scripts\msw\output\*' | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| publish-release: | |
| needs: [build-linux, build-windows] | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Publish draft release | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: gh release edit "${GITHUB_REF_NAME}" --draft=false --repo "${GITHUB_REPOSITORY}" | |
| - uses: vedantmgoyal9/winget-releaser@main | |
| with: | |
| identifier: xLightsSequencer.xLights | |
| installers-regex: '\.exe$' # Only .exe files | |
| token: ${{ secrets.WINGET_TOKEN }} |