diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index af026b38c..344beae74 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -11,16 +11,11 @@ permissions: jobs: # Builds the sdist and wheels on all supported platforms and uploads the resulting - # wheels as GitHub artifacts `dev-cibw-*`, `test-cibw-*`, or `cibw-*`, depending on - # whether the workflow is triggered from a PR, a push to main, or a release, respectively. + # wheels as GitHub artifacts `dev-cibw-*` or `cibw-*`, depending on whether the + # workflow is triggered from a PR or a release, respectively. python-packaging: name: 🐍 Packaging - uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.6 - with: - # Do not include local version information on pushes to main to facilitate TestPyPI uploads. - no-local-version: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} - # Do not build emulated wheels for mqt-core to avoid issues with PyPI space limitations. - build-emulated-wheels: false + uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.7 # Downloads the previously generated artifacts and deploys to PyPI on published releases. deploy: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ce0925f1..293eae4e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,13 +14,13 @@ concurrency: jobs: change-detection: name: 🔍 Change - uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.7 cpp-tests: name: 🇨‌ Test needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cpp-tests) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.7 with: # Runs to enable enable-ubuntu2404-gcc-release: true @@ -68,7 +68,7 @@ jobs: name: 🇨‌ Test (Extensive) needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cpp-tests) && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'extensive-cpp-ci') - uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.7 with: # Runs to enable enable-ubuntu2404-gcc-debug: true @@ -115,13 +115,13 @@ jobs: name: 🇨‌ Coverage needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cpp-tests) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-coverage.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-coverage.yml@v1.7 cpp-linter: name: 🇨‌ Lint needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cpp-linter) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.7 with: cmake-args: -DBUILD_MQT_CORE_BENCHMARKS=ON @@ -129,7 +129,7 @@ jobs: name: 🐍 Test needs: change-detection if: fromJSON(needs.change-detection.outputs.run-python-tests) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.7 with: # Runs to enable enable-ubuntu2404: true @@ -148,7 +148,7 @@ jobs: name: 🐍 Test (Extensive) needs: change-detection if: fromJSON(needs.change-detection.outputs.run-python-tests) && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'extensive-python-ci') - uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.7 with: # Runs to enable enable-ubuntu2204: true @@ -166,22 +166,19 @@ jobs: name: 🐍 Lint needs: change-detection if: fromJSON(needs.change-detection.outputs.run-python-tests) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-linter.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-linter.yml@v1.7 code-ql: name: 📝 CodeQL needs: change-detection if: fromJSON(needs.change-detection.outputs.run-code-ql) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.6 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.7 cd: name: 🚀 CD needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cd) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.6 - with: - # Do not build emulated wheels for mqt-core to avoid issues with PyPI space limitations. - build-emulated-wheels: false + uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.7 required-checks-pass: # This job does nothing and is only used for branch protection name: 🚦 Check