Fix Channel Check grouping bugs #354
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
| # Github Actions configuration file | |
| # Runs CI builds for Windows, Macos and Linux | |
| name: Build | |
| on: | |
| push: | |
| pull_request: | |
| page_build: | |
| release: | |
| types: | |
| - created | |
| - edited | |
| - prereleased | |
| - released | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # https://github.com/actions/virtual-environments#available-environments | |
| os: [ubuntu-22.04, windows-latest, macos-latest] | |
| include: | |
| - os: ubuntu-22.04 # Oldest LTS for appimage support | |
| qt: '6.8.3' # Qt6 LTS | |
| qt_modules: 'qtmultimedia' | |
| dependencies: | | |
| sudo apt-get install mesa-common-dev libgl1-mesa-dev libpcap-dev libgstreamer-gl1.0-0 libgstreamer-plugins-base1.0-0 libxkbcommon-x11-0 -y | |
| installer_setup: "" | |
| configure_preset_name: "linux-x64-release" | |
| build_preset_name: "linux-release" | |
| package_preset_name: "linux" | |
| artifact: | | |
| ./out/build/linux-x64-release/package/* | |
| sACNView-x86_64.AppImage | |
| - os: windows-latest | |
| qt: '6.8.3' | |
| qt_modules: 'qtmultimedia' | |
| installer_setup: | | |
| Invoke-WebRequest -Uri "https://nsis.sourceforge.io/mediawiki/images/e/e0/NSIS_Simple_Firewall_Plugin_Unicode_1.21.zip" -OutFile "NSIS_Simple_Firewall_Plugin_Unicode.zip" | |
| 7z e NSIS_Simple_Firewall_Plugin_Unicode.zip -o"C:\Program Files (x86)\NSIS\Plugins\x86-unicode" | |
| artifact: | | |
| ./install/win64/sACNView64*.exe | |
| ./out/build/windows-x64-release-installer/sACNView.pdb | |
| configure_preset_name: "windows-x64-release-installer" | |
| build_preset_name: "windows-x64-release-installer" | |
| - os: macos-latest | |
| qt: '6.9.3' | |
| qt_modules: 'qtmultimedia' | |
| xcode: latest-stable | |
| configure_preset_name: "macos" | |
| build_preset_name: "macos-release" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Install Qt | |
| uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: ${{ matrix.qt }} | |
| modules: ${{ matrix.qt_modules }} | |
| - name: Dependencies | |
| run: ${{ matrix.dependencies }} | |
| - name: Setup Installer | |
| run: ${{ matrix.installer_setup }} | |
| - name: Environment Setup (MSVC) | |
| if: runner.os == 'Windows' | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| - name: Environment Setup (Xcode) | |
| if: runner.os == 'macOS' | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: ${{ matrix.xcode }} | |
| - name: Post Environment Setup | |
| if: runner.os == 'macOS' | |
| run: echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV | |
| - name: CMake Configure | |
| shell: bash | |
| run: cmake --preset ${{matrix.configure_preset_name}} | |
| - name: CMake Build | |
| run: cmake --build --preset ${{matrix.build_preset_name}} | |
| - name: CPack Package | |
| if: matrix.package_preset_name | |
| run: cpack --preset ${{matrix.package_preset_name}} | |
| - name: Install Linuxdeploy (Linux) | |
| if: runner.os == 'linux' | |
| uses: miurahr/install-linuxdeploy-action@v1.8.0 | |
| with: | |
| dir: ${{ github.workspace }} | |
| plugins: qt appimage | |
| - name: Build AppImage (Linux) | |
| if: runner.os == 'linux' | |
| run: install/linux/build_appimage.sh | |
| - name: Upload Artifact(s) | |
| if: matrix.artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ runner.os }} | |
| path: ${{ matrix.artifact }} |