Fixed order of emission of model reset signals when root is deleted #80
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: Old LTS Versions | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
- bugfix | |
- ci_admin | |
paths-ignore: | |
- '.travis.yml' | |
- 'docs/**' | |
- '**.markdown' | |
- '**.md' | |
- 'LICENSE' | |
pull_request_target: | |
paths-ignore: | |
- '.travis.yml' | |
- 'docs/**' | |
- '**.markdown' | |
- '**.md' | |
- 'LICENSE' | |
jobs: | |
build512: | |
name: Qt Old LTS Builds | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
qt_ver: [5.12.10,5.9.9,6.2.4] | |
steps: | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install libxcb-* | |
export PATH=$PATH:$PWD/build/installed/lib | |
export PATH=$PATH:$PWD/build/installed/bin | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: ${{ matrix.qt_ver }} | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Create Build Directory | |
run: | | |
mkdir build | |
cd build | |
mkdir debug | |
mkdir release | |
- name: Build | |
run: | | |
cd build/debug | |
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_DEBUG_POSTFIX=d -DBUILD_TESTING=ON -DTEST_OUTPUT_XML=ON -DBUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX="../installed" ../../ | |
cmake --build . | |
cmake --build . --target install | |
cd ../release | |
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_TESTING=ON -DTEST_OUTPUT_XML=ON -DBUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX="../installed" ../../ | |
cmake --build . | |
cmake --build . --target install | |
- name: Test | |
id: runtests | |
shell: pwsh | |
run: | | |
cd build | |
$OldPath = [Environment]::GetEnvironmentVariable("PATH") | |
[Environment]::SetEnvironmentVariable("PATH","$pwd/installed/lib;$pwd/installed/bin;$OldPath") | |
[Environment]::SetEnvironmentVariable("QT_QPA_PLATFORM","offscreen") | |
cd debug | |
cmake --build . --target test | |
cd ../release | |
cmake --build . --target test | |
- name: HtmlModelSerialiser output validation | |
run: | | |
pip install html5validator | |
html5validator --root build/TestResults/ | |
- name: Prepare Test Report | |
if: ${{ always() && (steps.runtests.outcome == 'failure') }} | |
uses: ./ci/processtestresults | |
with: | |
qt-tests: build/TestResults | |
junit-output: build/TestResults/junitresult.xml | |
html-output: build/TestResults/testsreport.html | |
- name: Publish Test Report | |
if: ${{ always() && (steps.runtests.outcome == 'failure') }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Qt${{ matrix.qt_ver }} | |
path: | | |
build/TestResults/*.xml | |
build/TestResults/testsreport.html |