File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Taken from osqp-python
2-
31name : Build Wheels
42
53on :
6- # Triggers the workflow on push or pull request events
74 push :
85 branches :
96 - " *"
@@ -18,14 +15,15 @@ jobs:
1815 runs-on : ubuntu-latest
1916 strategy :
2017 fail-fast : false
18+
2119 steps :
22- - uses : actions/checkout@master
20+ - uses : actions/checkout@v4
2321 with :
24- submodules : " recursive"
22+ submodules : recursive
2523
2624 - name : Build source and wheel
2725 run : |
28- python -m pip install build
26+ python -m pip install --upgrade pip build
2927 python -m build --outdir=wheelhouse
3028
3129 - name : Upload sdist and wheel to github
3836 build_wheels :
3937 name : Building wheels on ${{ matrix.os }}
4038 runs-on : ${{ matrix.os }}
39+
4140 strategy :
4241 fail-fast : false
4342 matrix :
@@ -49,12 +48,22 @@ jobs:
4948 fetch-depth : 0
5049 submodules : true
5150
52- - uses : pypa/cibuildwheel@v2.21
51+ - name : Cache cibuildwheel
52+ uses : actions/cache@v4
53+ with :
54+ path : |
55+ ~/.cache/cibuildwheel
56+ ~/Library/Caches/cibuildwheel
57+ key : cibuildwheel-${{ runner.os }}
58+
59+ - name : Build wheels
60+ uses : pypa/cibuildwheel@v2.21
5361 env :
5462 CIBW_SKIP : " pp38-*"
63+ CIBW_BUILD_VERBOSITY : 1
5564
5665 - name : Upload wheels
5766 uses : actions/upload-artifact@v4
5867 with :
5968 name : cibw-wheels-${{ matrix.os }}
60- path : wheelhouse/*.whl
69+ path : wheelhouse/*.whl
You can’t perform that action at this time.
0 commit comments