Skip to content

Do not allow for father tabs to be closed before child tab and fix IC… #968

Do not allow for father tabs to be closed before child tab and fix IC…

Do not allow for father tabs to be closed before child tab and fix IC… #968

Workflow file for this run

# Copyright 2015 - 2025, GIBIS-Unifesp and the wiRedPanda contributors
# SPDX-License-Identifier: GPL-3.0-or-later
name: Build qmake
on:
push:
branches-ignore:
- master
pull_request:
branches:
- master
types: [opened, synchronize, reopened]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
qt_version: [5.12.12, 5.13.2, 5.14.2, 5.15.2, 6.2.4, 6.3.2, 6.4.3, 6.5.3, 6.6.3, 6.7.3, 6.8.2, 6.9.0]
# =================================
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install Qt5
if: startsWith(matrix.qt_version, '5')
uses: jurplel/install-qt-action@v4
with:
version: ${{ matrix.qt_version }}
cache: true
aqtversion: ==3.2.*
- name: Install Qt6
if: startsWith(matrix.qt_version, '6')
uses: jurplel/install-qt-action@v4
with:
version: ${{ matrix.qt_version }}
modules: qtmultimedia qtimageformats
cache: true
aqtversion: ==3.2.*
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ matrix.os }}-${{ matrix.qt_version }}
# =================================
- name: Build Ubuntu
if: runner.os == 'Linux'
run: |
mkdir build
cd build
qmake ../WPanda.pro
make -j4
- name: Test Ubuntu
if: runner.os == 'Linux'
run: |
cd build/test
./WPanda-test -platform offscreen
# =================================
- name: Setup MSVC Toolchain
if: runner.os == 'Windows'
uses: pbeast/gha-setup-vsdevenv@master
- name: Build Windows
if: runner.os == 'Windows'
run: |
choco install jom
mkdir build
cd build
qmake ../WPanda.pro
jom
- name: Test Windows
if: runner.os == 'Windows'
run: |
cd build
jom check
# =================================
- name: Build macOS
if: runner.os == 'macOS'
run: |
mkdir build
cd build
qmake ../WPanda.pro -early QMAKE_DEFAULT_LIBDIRS=$(xcrun -show-sdk-path)/usr/lib
make -j3
- name: Test macOS
if: runner.os == 'macOS'
run: |
cd build
make check