@@ -3,66 +3,67 @@ name: Build
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build_wheels :
7
- name : Build wheels on ${{ matrix.os }}
8
- runs-on : ${{ matrix.os }}
9
- strategy :
10
- matrix :
11
- os :
12
- [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-14]
6
+ # build_wheels:
7
+ # name: Build wheels on ${{ matrix.os }}
8
+ # runs-on: ${{ matrix.os }}
9
+ # strategy:
10
+ # matrix:
11
+ # os:
12
+ # [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-14]
13
13
14
- steps :
15
- - uses : actions/checkout@v4
16
- with :
17
- submodules : true
14
+ # steps:
15
+ # - uses: actions/checkout@v4
16
+ # with:
17
+ # submodules: true
18
18
19
- - name : Build sdist
20
- run : |
21
- pipx run build --sdist
22
- python3 -c "import pathlib,glob;pathlib.Path('GITHUB_ENV').write_text('SDIST_PATH' + glob.glob('dist/*.tar.gz')[0])"
19
+ # - name: Build sdist
20
+ # run: |
21
+ # pipx run build --sdist
22
+ # python3 -c "import pathlib,glob;pathlib.Path('GITHUB_ENV').write_text('SDIST_PATH' + glob.glob('dist/*.tar.gz')[0])"
23
23
24
- - name : Build wheels
25
-
26
- env :
27
- CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-* cp313-* pp310-* pp311-*"
28
- # CIBW_TEST_COMMAND: "python -m pymunk.tests"
29
- # CIBW_BUILD_VERBOSITY: 3
30
- with :
31
- package-dir : " $SDIST_PATH"
24
+ # - name: Build wheels
25
+
26
+ # env:
27
+ # CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-* pp310-* pp311-*"
28
+ # # CIBW_TEST_COMMAND: "python -m pymunk.tests"
29
+ # # CIBW_BUILD_VERBOSITY: 3
30
+ # with:
31
+ # package-dir: "$SDIST_PATH"
32
32
33
- - name : Upload wheel artifacts
34
- uses : actions/upload-artifact@v4
35
- if : ${{ github.ref == 'refs/heads/master'}}
36
- with :
37
- name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
38
- path : ./wheelhouse/*.whl
39
- retention-days : 7
33
+ # - name: Upload wheel artifacts
34
+ # uses: actions/upload-artifact@v4
35
+ # if: ${{ github.ref == 'refs/heads/master'}}
36
+ # with:
37
+ # name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
38
+ # path: ./wheelhouse/*.whl
39
+ # retention-days: 7
40
40
41
- - name : Upload sdist artifact
42
- uses : actions/upload-artifact@v4
43
- if :
44
- ${{ github.ref == 'refs/heads/master' && matrix.os ==
45
- ' windows-latest' }}
46
- with :
47
- name : sdist-${{ matrix.os }}-${{ strategy.job-index }}
48
- path : ./dist/*.tar.gz
49
- retention-days : 7
41
+ # - name: Upload sdist artifact
42
+ # uses: actions/upload-artifact@v4
43
+ # if:
44
+ # ${{ github.ref == 'refs/heads/master' && matrix.os ==
45
+ # 'windows-latest'}}
46
+ # with:
47
+ # name: sdist-${{ matrix.os }}-${{ strategy.job-index }}
48
+ # path: ./dist/*.tar.gz
49
+ # retention-days: 7
50
50
51
- build_wasm :
52
- name : Build wheels for wasm / emscripten
53
- runs-on : ubuntu-22.04
54
- steps :
55
- - uses : actions/checkout@v4
56
- with :
57
- submodules : true
58
-
59
- env :
60
- CIBW_PLATFORM : pyodide
61
- - uses : actions/upload-artifact@v4
62
- if : ${{ github.ref == 'refs/heads/master' }}
63
- with :
64
- path : ./wheelhouse/*.whl
65
- retention-days : 7
51
+ # build_wasm:
52
+ # name: Build wheels for wasm / emscripten
53
+ # runs-on: ubuntu-22.04
54
+ # steps:
55
+ # - uses: actions/checkout@v4
56
+ # with:
57
+ # submodules: true
58
+
59
+ # env:
60
+ # CIBW_PLATFORM: pyodide
61
+ # - uses: actions/upload-artifact@v4
62
+ # if: ${{ github.ref == 'refs/heads/master' }}
63
+ # with:
64
+ # name: cibw-wheels-pyodide-${{ matrix.os }}-${{ strategy.job-index }}
65
+ # path: ./wheelhouse/*.whl
66
+ # retention-days: 7
66
67
67
68
build_ios :
68
69
name : Build wheels for iOS
@@ -72,26 +73,11 @@ jobs:
72
73
uses : actions/checkout@v4
73
74
with :
74
75
submodules : true
75
- - name : Set up Python
76
- uses : actions/setup-python@v5
77
- with :
78
- python-version : " 3.x"
79
- # - run: brew upgrade cmake
76
+ - run : brew upgrade cmake
80
77
- name : Build wheels
81
78
82
-
83
79
env :
84
80
CIBW_PLATFORM : ios
85
- CIBW_ARCHS : auto
86
- CIBW_BUILD_VERBOSITY : 1
87
- CIBW_BEFORE_BUILD_IOS : |
88
- # download wheel and pretend that it's compatible with the current platform settings
89
- curl https://files.pythonhosted.org/packages/8b/f1/672d303ddf17c24fc83afd712316fda78dc6fce1cd53011b839483e1ecc8/cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl -L -o cffi-1.17.1-py3-none-any.whl && \
90
- pip install cffi-1.17.1-py3-none-any.whl && \
91
- # install the rest of the dependencies
92
- python -m pip install setuptools wheel
93
- CIBW_XBUILD_TOOLS : " curl pkg-config tar"
94
- CIBW_BUILD_FRONTEND : " pip; args: --no-build-isolation"
95
81
96
82
- uses : actions/upload-artifact@v4
97
83
if : ${{ github.ref == 'refs/heads/master' }}
0 commit comments