DomElement: Ignore garbage bytes \x0C and \x06 in XML files #146
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
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| qmake: | |
| name: "qmake on ${{ matrix.container }}" | |
| runs-on: ubuntu-24.04 | |
| container: "${{ matrix.container }}" | |
| strategy: | |
| matrix: | |
| include: | |
| - {container: "ubuntu:22.04", packages: "qtbase5-dev qttools5-dev-tools"} | |
| - {container: "ubuntu:24.04", packages: "qtbase5-dev qttools5-dev-tools"} | |
| - {container: "ubuntu:26.04", packages: "qtbase5-dev qttools5-dev-tools"} | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install qt and build tools | |
| run: | | |
| apt-get update && | |
| apt-get install -y --no-install-recommends \ | |
| pkg-config g++ make ${{ matrix.packages }} | |
| - name: Run qmake | |
| run: qmake -r "QMAKE_CXXFLAGS=-std=c++11 -Werror" | |
| - name: Build | |
| run: make -j8 | |
| cmake: | |
| name: "cmake/${{ matrix.qt }} on ${{ matrix.container }}" | |
| runs-on: ubuntu-24.04 | |
| container: "${{ matrix.container }}" | |
| strategy: | |
| matrix: | |
| include: | |
| - qt: qt5 | |
| container: "ubuntu:22.04" | |
| packages: qtbase5-dev qttools5-dev-tools | |
| - qt: qt5 | |
| container: "ubuntu:24.04" | |
| packages: qtbase5-dev qttools5-dev-tools | |
| - qt: qt5 | |
| container: "ubuntu:26.04" | |
| packages: qtbase5-dev qttools5-dev-tools | |
| - qt: qt6 | |
| container: "ubuntu:22.04" | |
| packages: qt6-base-dev qt6-base-dev-tools | |
| - qt: qt6 | |
| container: "ubuntu:24.04" | |
| packages: qt6-base-dev qt6-base-dev-tools | |
| - qt: qt6 | |
| container: "ubuntu:26.04" | |
| packages: qt6-base-dev qt6-base-dev-tools | |
| - qt: qt5-implicit | |
| container: "ubuntu:22.04" | |
| packages: qtbase5-dev qttools5-dev-tools qt6-base-dev qt6-base-dev-tools | |
| - qt: qt5-explicit | |
| container: "ubuntu:22.04" | |
| packages: qtbase5-dev qttools5-dev-tools qt6-base-dev qt6-base-dev-tools | |
| cmake_flags: "-DPARSEAGLE_QT_MAJOR_VERSION=5" | |
| - qt: qt6-explicit | |
| container: "ubuntu:22.04" | |
| packages: qtbase5-dev qttools5-dev-tools qt6-base-dev qt6-base-dev-tools | |
| cmake_flags: "-DPARSEAGLE_QT_MAJOR_VERSION=6" | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install qt and build tools | |
| run: | | |
| apt-get update && | |
| apt-get install -y --no-install-recommends \ | |
| pkg-config g++ make cmake ${{ matrix.packages }} | |
| - name: Show cmake version | |
| run: cmake --version | |
| - name: Run cmake | |
| run: cmake -S . ${{ matrix.cmake_flags }} | |
| - name: Build | |
| run: VERBOSE=1 cmake --build . |