@@ -50,67 +50,67 @@ jobs:
50
50
name : osx-wheel-${{ matrix.python }}
51
51
path : dist
52
52
53
- windows :
54
- runs-on : windows-latest
55
- strategy :
56
- matrix :
57
- python : [3.7, 3.8, 3.9]
58
- wordsize : [64]
59
- steps :
60
- - name : Checkout
61
- uses : actions/checkout@v2
62
- with :
63
- submodules : true
64
- - name : Install deps
65
- env :
66
- PYTHON : " py -${{ matrix.python }}-${{ matrix.wordsize }}"
67
- shell : bash
68
- run : |
69
- set -ex
70
- ${PYTHON} -m pip install --upgrade pip
71
- ${PYTHON} -m pip install setuptools wheel
72
- # Instead of letting setup.py install a newer numpy we install it here
73
- # using the oldest supported version for ABI compatibility
74
- ${PYTHON} -m pip install oldest-supported-numpy
75
- - name : Build C Extension
76
- env :
77
- PYTHON : " py -${{ matrix.python }}-${{ matrix.wordsize }}"
78
- shell : bash
79
- run : |
80
- set -ex
81
- git reset --hard
82
- ${PYTHON} -VV
83
- # For some reason I can't work out the C compiler is not following symlinks
84
- cd lib
85
- rm -r subprojects/kastore
86
- rm -r subprojects/tskit
87
- rm -r subprojects/git-submodules/tskit/c/subprojects
88
- rm -r subprojects/git-submodules/tskit/c/tests
89
- cp -r --dereference subprojects/git-submodules/kastore/c subprojects/kastore
90
- cp -r --dereference subprojects/git-submodules/tskit/c subprojects/tskit
91
- cp -r --dereference subprojects/git-submodules/tskit/python/lwt_interface/* subprojects/tskit/.
92
- cp -r --dereference subprojects/git-submodules/tskit/python/lwt_interface ../lwt_interface
93
- cd ..
94
- #Do a little dance to restore the version to a clean tag for setuptools_scm
95
- git config --global user.email "[email protected] "
96
- git config --global user.name "Mr Robot"
97
- git tag -d ${{ github.ref_name }}
98
- git add -u
99
- git commit -m "tag dance"
100
- git tag ${{ github.ref_name }}
101
- ${PYTHON} setup.py build_ext --inplace
102
- - name : Build Wheel
103
- env :
104
- PYTHON : " py -${{ matrix.python }}-${{ matrix.wordsize }}"
105
- shell : bash
106
- run : |
107
- set -ex
108
- ${PYTHON} setup.py bdist_wheel
109
- - name : Upload Wheels
110
- uses : actions/upload-artifact@v2
111
- with :
112
- name : win-wheel-${{ matrix.python }}-${{ matrix.wordsize }}
113
- path : dist
53
+ # windows:
54
+ # runs-on: windows-latest
55
+ # strategy:
56
+ # matrix:
57
+ # python: [3.7, 3.8, 3.9]
58
+ # wordsize: [64]
59
+ # steps:
60
+ # - name: Checkout
61
+ # uses: actions/checkout@v2
62
+ # with:
63
+ # submodules: true
64
+ # - name: Install deps
65
+ # env:
66
+ # PYTHON: "py -${{ matrix.python }}-${{ matrix.wordsize }}"
67
+ # shell: bash
68
+ # run: |
69
+ # set -ex
70
+ # ${PYTHON} -m pip install --upgrade pip
71
+ # ${PYTHON} -m pip install setuptools wheel
72
+ # # Instead of letting setup.py install a newer numpy we install it here
73
+ # # using the oldest supported version for ABI compatibility
74
+ # ${PYTHON} -m pip install oldest-supported-numpy
75
+ # - name: Build C Extension
76
+ # env:
77
+ # PYTHON: "py -${{ matrix.python }}-${{ matrix.wordsize }}"
78
+ # shell: bash
79
+ # run: |
80
+ # set -ex
81
+ # git reset --hard
82
+ # ${PYTHON} -VV
83
+ # # For some reason I can't work out the C compiler is not following symlinks
84
+ # cd lib
85
+ # rm -r subprojects/kastore
86
+ # rm -r subprojects/tskit
87
+ # rm -r subprojects/git-submodules/tskit/c/subprojects
88
+ # rm -r subprojects/git-submodules/tskit/c/tests
89
+ # cp -r --dereference subprojects/git-submodules/kastore/c subprojects/kastore
90
+ # cp -r --dereference subprojects/git-submodules/tskit/c subprojects/tskit
91
+ # cp -r --dereference subprojects/git-submodules/tskit/python/lwt_interface/* subprojects/tskit/.
92
+ # cp -r --dereference subprojects/git-submodules/tskit/python/lwt_interface ../lwt_interface
93
+ # cd ..
94
+ # #Do a little dance to restore the version to a clean tag for setuptools_scm
95
+ # git config --global user.email "[email protected] "
96
+ # git config --global user.name "Mr Robot"
97
+ # git tag -d ${{ github.ref_name }}
98
+ # git add -u
99
+ # git commit -m "tag dance"
100
+ # git tag ${{ github.ref_name }}
101
+ # ${PYTHON} setup.py build_ext --inplace
102
+ # - name: Build Wheel
103
+ # env:
104
+ # PYTHON: "py -${{ matrix.python }}-${{ matrix.wordsize }}"
105
+ # shell: bash
106
+ # run: |
107
+ # set -ex
108
+ # ${PYTHON} setup.py bdist_wheel
109
+ # - name: Upload Wheels
110
+ # uses: actions/upload-artifact@v2
111
+ # with:
112
+ # name: win-wheel-${{ matrix.python }}-${{ matrix.wordsize }}
113
+ # path: dist
114
114
115
115
manylinux :
116
116
runs-on : ubuntu-latest
@@ -169,30 +169,30 @@ jobs:
169
169
pip install tsinfer --only-binary tsinfer -f .
170
170
python -c "import tsinfer"
171
171
172
- windows-test :
173
- needs : ['windows']
174
- runs-on : windows-latest
175
- strategy :
176
- matrix :
177
- python : [3.7, 3.8, 3.9]
178
- wordsize : [64]
179
- steps :
180
- - name : Download wheels
181
- uses : actions/download-artifact@v2
182
- with :
183
- name : win-wheel-${{ matrix.python }}-${{ matrix.wordsize }}
184
- - name : Set up Python ${{ matrix.python }}
185
- uses : actions/setup-python@v2
186
- with :
187
- python-version : ${{ matrix.python }}
188
- - name : Install wheel and test
189
- run : |
190
- python -VV
191
- #patch-ng required to build lmdb
192
- pip install patch-ng
193
- # Install the local wheel
194
- pip install tsinfer --only-binary tsinfer -f .
195
- python -c "import tsinfer"
172
+ # windows-test:
173
+ # needs: ['windows']
174
+ # runs-on: windows-latest
175
+ # strategy:
176
+ # matrix:
177
+ # python: [3.7, 3.8, 3.9]
178
+ # wordsize: [64]
179
+ # steps:
180
+ # - name: Download wheels
181
+ # uses: actions/download-artifact@v2
182
+ # with:
183
+ # name: win-wheel-${{ matrix.python }}-${{ matrix.wordsize }}
184
+ # - name: Set up Python ${{ matrix.python }}
185
+ # uses: actions/setup-python@v2
186
+ # with:
187
+ # python-version: ${{ matrix.python }}
188
+ # - name: Install wheel and test
189
+ # run: |
190
+ # python -VV
191
+ # #patch-ng required to build lmdb
192
+ # pip install patch-ng
193
+ # # Install the local wheel
194
+ # pip install tsinfer --only-binary tsinfer -f .
195
+ # python -c "import tsinfer"
196
196
197
197
manylinux-test :
198
198
runs-on : ubuntu-latest
@@ -219,7 +219,8 @@ jobs:
219
219
220
220
PyPI_Upload :
221
221
runs-on : ubuntu-latest
222
- needs : ['windows-test', 'OSX-test', 'manylinux-test']
222
+ # needs: ['windows-test', 'OSX-test', 'manylinux-test']
223
+ needs : ['OSX-test', 'manylinux-test']
223
224
steps :
224
225
- name : Download all
225
226
uses : actions/download-artifact@v2
0 commit comments