Skip to content

Commit

Permalink
⬆️ update mqt-workflows to v1.3 (moving tag) (#438)
Browse files Browse the repository at this point in the history
## Description

This PR updates the MQT workflows to `v1.3`, which is the first version
to offer moving minor tags that should reduce the update frequency.
Furthermore, the updated workflows combine the emulated wheel jobs to
reduce overall build time and reduce the number of parallel jobs.

## Checklist:

<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->

- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style guidelines.

Signed-off-by: burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Aug 9, 2024
1 parent 79f35b8 commit 119c781
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
python-packaging:
name: 🐍 Packaging
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.2.1
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.3

deploy:
if: github.event_name == 'release' && github.event.action == 'published'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ concurrency:
jobs:
change-detection:
name: 🔍 Change
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.2.1
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.3

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.2.1
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.3
with:
cmake-args: ""
cmake-args-ubuntu: -G Ninja
Expand All @@ -31,21 +31,21 @@ jobs:
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.2.1
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.3

python-tests:
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.2.1
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.3
with:
skip-testing-latest-python: true

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.2.1
uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.3

required-checks-pass: # This job does nothing and is only used for branch protection
name: 🚦 Check
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ wheel.install-dir = "mqt/qcec"
ninja.version = ">=1.10"

# Setuptools-style build caching in a local directory
build-dir = "build/{wheel_tag}"
build-dir = "build/{build_type}"

# Explicitly set the package directory
wheel.packages = ["src/mqt"]
Expand Down Expand Up @@ -293,4 +293,4 @@ environment = { MACOSX_DEPLOYMENT_TARGET = "10.15" }
[tool.cibuildwheel.windows]
before-build = "pip install delvewheel>=1.7.3"
repair-wheel-command = "delvewheel repair -v -w {dest_dir} {wheel} --namespace-pkg mqt"
environment = { CMAKE_ARGS = "-T ClangCL" }
environment = { CMAKE_ARGS = "-T ClangCL", SKBUILD_CMAKE_ARGS="--fresh" }

0 comments on commit 119c781

Please sign in to comment.