diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2024-02-14 22:21:54 +0100 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2024-02-15 13:20:45 +0000 |
commit | 7deb6f01246dfdb74aa00743680ce42e06459ce8 (patch) | |
tree | 3a6348d082bb0076a486b5d39e1fc66dd743425b | |
parent | 33347f6352df115bfcf428553f9d00323649a25f (diff) |
GitHub actions: Add Jammy-qt6 job
Change-Id: I38fa9d66a8e136c498f5826e2d3d84fe06bafe89
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | .github/workflows/main.yml | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 71f4d2167..1947d10d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,7 @@ jobs: config: - { name: 'Build on Linux (gcc)', + image: 'focal-qt6', options: 'modules.cpp.compilerWrapper:ccache modules.qbs.debugInformation:true modules.qbsbuildconfig.enableBundledQt:true @@ -24,6 +25,19 @@ jobs: products.qbs_archive.includeTests:true', script: './scripts/build-qbs-with-qbs.sh', cacheid: 'gcc-qt6', + suffix: 'linux', + } + - { + name: 'Build on Linux (Jammy, gcc)', + image: 'jammy-qt6', + options: 'modules.cpp.compilerWrapper:ccache + modules.qbs.debugInformation:true + modules.qbsbuildconfig.enableBundledQt:true + products.qbs_archive.targetName:qbs-linux-jammy-${{ github.run_id }} + products.qbs_archive.includeTests:true', + script: './scripts/build-qbs-with-qbs.sh', + cacheid: 'gcc-qt6-jammy', + suffix: 'linux-jammy', } env: BUILD_OPTIONS: ${{ matrix.config.options }} @@ -42,18 +56,18 @@ jobs: key: ${{ runner.os }}-${{ matrix.config.cacheid }}-ccache-${{ steps.get-timestamp.outputs.timestamp }} restore-keys: ${{ runner.os }}-${{ matrix.config.cacheid }}-ccache- - name: Pull the Docker Image - run: docker-compose pull focal-qt6 + run: docker-compose pull ${{ matrix.config.image }} - name: Print ccache stats - run: docker-compose run focal-qt6 ccache -s + run: docker-compose run ${{ matrix.config.image }} ccache -s - name: Build Qbs - run: docker-compose run focal-qt6 ${{ matrix.config.script }} + run: docker-compose run ${{ matrix.config.image }} ${{ matrix.config.script }} - name: Print ccache stats - run: docker-compose run focal-qt6 ccache -s + run: docker-compose run ${{ matrix.config.image }} ccache -s - name: Upload artifacts uses: 'actions/upload-artifact@v2' with: - name: qbs-linux-${{ github.run_id }}.tar.gz - path: release/qbs-linux-${{ github.run_id }}.tar.gz + name: qbs-${{ matrix.config.suffix }}-${{ github.run_id }}.tar.gz + path: release/qbs-${{ matrix.config.suffix }}-${{ github.run_id }}.tar.gz build-linux-extra: name: ${{ matrix.config.name }} |