π v1.3.0 #91
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
name: π· Windows CI | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
pull_request: | |
types: [opened, synchronize, labeled] | |
workflow_dispatch: | |
jobs: | |
BuildWindows: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
qt-version: ['6.6.2'] | |
build-type: ['Release'] | |
steps: | |
- | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- | |
name: β¬ Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: ${{ matrix.qt-version }} | |
cache: true | |
modules: 'qtcharts qtdatavis3d qtvirtualkeyboard qtwebengine qtnetworkauth qtquick3d qt5compat qtshadertools qtwebchannel qt3d qtwebsockets qtwebview qtpositioning' | |
- | |
name: π§ Configure | |
run: | | |
mkdir -p build | |
cmake -DQATERIALHOTRELOAD_IGNORE_ENV=ON -DCMAKE_BUILD_TYPE="${{ matrix.build-type }}" -B build -S . | |
shell: bash | |
- | |
name: π¨ Build Qaterial | |
run: cmake --build build --target "Qaterial" --config "${{ matrix.build-type }}" -j | |
- | |
name: π¨ Build QaterialHotReloadApp | |
run: cmake --build build --target "QaterialHotReloadApp" --config "${{ matrix.build-type }}" -j | |
- | |
name: π¨ Build QaterialHotReload Installer | |
run: cmake --build build --target "QaterialHotReloadAppInstallerX64" --config "${{ matrix.build-type }}" -j | |
- | |
name: π¦ Upload QaterialHotReload Installer | |
uses: actions/upload-artifact@v2 | |
with: | |
name: QaterialHotReloadInstallerX64${{ matrix.build-type }}.exe | |
path: build/QaterialHotReloadAppInstallerX64${{ matrix.build-type }}.exe | |
- | |
name: π Upload Release Asset | |
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: build/QaterialHotReloadAppInstallerX64${{ matrix.build-type }}.exe | |
asset_name: QaterialHotReloadInstallerX64${{ matrix.build-type }}.exe | |
asset_content_type: application/vnd.microsoft.portable-executable |