Skip to content

Commit 119c781

Browse files
authored
⬆️ update mqt-workflows to v1.3 (moving tag) (cda-tum#438)
## 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>
1 parent 79f35b8 commit 119c781

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/cd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
python-packaging:
1212
name: 🐍 Packaging
13-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.2.1
13+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.3
1414

1515
deploy:
1616
if: github.event_name == 'release' && github.event.action == 'published'

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ concurrency:
1414
jobs:
1515
change-detection:
1616
name: 🔍 Change
17-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.2.1
17+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.3
1818

1919
cpp-tests:
2020
name: 🇨‌ Test
2121
needs: change-detection
2222
if: fromJSON(needs.change-detection.outputs.run-cpp-tests)
23-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.2.1
23+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.3
2424
with:
2525
cmake-args: ""
2626
cmake-args-ubuntu: -G Ninja
@@ -31,21 +31,21 @@ jobs:
3131
name: 🇨‌ Lint
3232
needs: change-detection
3333
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)
34-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.2.1
34+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.3
3535

3636
python-tests:
3737
name: 🐍 Test
3838
needs: change-detection
3939
if: fromJSON(needs.change-detection.outputs.run-python-tests)
40-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.2.1
40+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.3
4141
with:
4242
skip-testing-latest-python: true
4343

4444
code-ql:
4545
name: 📝 CodeQL
4646
needs: change-detection
4747
if: fromJSON(needs.change-detection.outputs.run-code-ql)
48-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.2.1
48+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.3
4949

5050
required-checks-pass: # This job does nothing and is only used for branch protection
5151
name: 🚦 Check

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ wheel.install-dir = "mqt/qcec"
8080
ninja.version = ">=1.10"
8181

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

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

0 commit comments

Comments
 (0)