This repository was archived by the owner on Jun 18, 2026. It is now read-only.
version update #276
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: CI - Windows | |
| on: [pull_request, push] | |
| permissions: | |
| actions: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: ${{ github.head_ref != '' }} | |
| jobs: | |
| ci: | |
| name: Build | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| lfs: true | |
| submodules: recursive | |
| - name: Setup devcmd | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| - name: Install build tools | |
| run: | | |
| dotnet tool install --global wix --version 7.0.0 | |
| wix eula accept wix7 | |
| wix extension add --global WixToolset.Util.wixext/7.0.0 | |
| - name: Install Qt | |
| uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: "6.10.*" | |
| arch: 'win64_msvc2022_64' | |
| archives: qtbase qtsvg qttools qttranslations | |
| modules: qtimageformats qtmultimedia qtspeech | |
| - name: Build application | |
| run: | | |
| cmake ` | |
| -B build ` | |
| -G Ninja ` | |
| -D CMAKE_BUILD_TYPE=Release | |
| cmake --build build --target update_translations | |
| cmake --build build | |
| - name: Prepare build artifacts | |
| run: | | |
| cmake --build build --target win_installer | |
| mkdir upload | |
| move build\dist\msi\digital_clock_5-x64.msi upload | |
| move build\installer_files DigitalClock5 | |
| New-Item -ItemType File -Path DigitalClock5 -Name portable.txt | |
| attrib +h DigitalClock5\portable.txt | |
| 7z a upload\digital_clock_5-win64.zip DigitalClock5 | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: DigitalClock5 Windows Nightly | |
| path: upload |