diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 067a232..c228c0c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,14 @@ env: jobs: build: + strategy: + matrix: + include: + - qt_version: '6.6' + qt_arch: 'gcc_64' + - qt_version: '6.7' + qt_arch: 'linux_gcc_64' + runs-on: ubuntu-latest steps: @@ -24,9 +32,10 @@ jobs: sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev libgd-dev xvfb libxcb-cursor0 shell: bash - name: Install Qt - uses: jurplel/install-qt-action@v3 + uses: jurplel/install-qt-action@v4 with: - version: '6.6.*' + version: '${{ matrix.qt_version }}' + arch: '${{ matrix.qt_arch }}' - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} diff --git a/.github/workflows/utests.yml b/.github/workflows/utests.yml index b4db17f..bc84c7b 100644 --- a/.github/workflows/utests.yml +++ b/.github/workflows/utests.yml @@ -11,6 +11,14 @@ env: jobs: build: + strategy: + matrix: + include: + - qt_version: '6.6' + qt_arch: 'gcc_64' + - qt_version: '6.7' + qt_arch: 'linux_gcc_64' + runs-on: ubuntu-latest steps: @@ -24,9 +32,10 @@ jobs: sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev libgd-dev xvfb libxcb-cursor0 shell: bash - name: Install Qt - uses: jurplel/install-qt-action@v3 + uses: jurplel/install-qt-action@v4 with: - version: '6.6.*' + version: '${{ matrix.qt_version }}' + arch: '${{ matrix.qt_arch }}' - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSCRATCHCPPRENDER_BUILD_UNIT_TESTS=ON