@@ -10,25 +10,30 @@ permissions:
10
10
id-token : write
11
11
12
12
jobs :
13
- # Builds the sdist and wheels on all supported platforms and uploads the resulting
14
- # wheels as GitHub artifacts `dev-cibw-*` or `cibw-*`, depending on whether the
15
- # workflow is triggered from a PR or a release, respectively.
16
- python-packaging :
13
+ build-sdist :
17
14
name : 🐍 Packaging
18
- uses :
munich-quantum-toolkit/workflows/.github/workflows/[email protected]
15
+ uses :
munich-quantum-toolkit/workflows/.github/workflows/[email protected]
16
+
17
+ # Builds wheels on all supported platforms using cibuildwheel.
18
+ # The wheels are uploaded as GitHub artifacts `dev-cibw-*` or `cibw-*`, depending on whether
19
+ # the workflow is triggered from a PR or a release, respectively.
20
+ build-wheel :
21
+ name : 🐍 Packaging
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ runs-on :
26
+ [
27
+ ubuntu-24.04,
28
+ ubuntu-24.04-arm,
29
+ macos-13,
30
+ macos-14,
31
+ windows-2022,
32
+ windows-11-arm,
33
+ ]
34
+ uses :
munich-quantum-toolkit/workflows/.github/workflows/[email protected]
19
35
with :
20
- # Runs to enable
21
- enable-ubuntu2404 : true
22
- enable-ubuntu2404-arm : true
23
- enable-macos13 : true
24
- enable-macos14 : true
25
- enable-windows2022 : true
26
- enable-windows11-arm : true
27
- # Runs to disable
28
- enable-ubuntu2204 : false
29
- enable-ubuntu2204-arm : false
30
- enable-macos15 : false
31
- enable-windows2025 : false
36
+ runs-on : ${{ matrix.runs-on }}
32
37
33
38
# Downloads the previously generated artifacts and deploys to PyPI on published releases.
34
39
deploy :
38
43
environment :
39
44
name : pypi
40
45
url : https://pypi.org/p/mqt.ddsim
41
- needs : [python-packaging ]
46
+ needs : [build-sdist, build-wheel ]
42
47
steps :
43
48
- uses : actions/download-artifact@v4
44
49
with :
0 commit comments