File tree 1 file changed +1
-67
lines changed
1 file changed +1
-67
lines changed Original file line number Diff line number Diff line change 15
15
CIBW_TEST_REQUIRES : pytest
16
16
CIBW_SKIP : " *27* pp* *35*"
17
17
CIBW_ENVIRONMENT : " DISABLE_NUMCODECS_AVX2=1"
18
- CIBW_ENVIRONMENT_MACOS : " MACOSX_DEPLOYMENT_TARGET=10.9 DISABLE_NUMCODECS_AVX2=1 CC=clang "
18
+ CIBW_ENVIRONMENT_MACOS : " MACOSX_DEPLOYMENT_TARGET=10.9 DISABLE_NUMCODECS_AVX2=1 CC=gcc "
19
19
20
20
steps :
21
21
- uses : actions/checkout@v1
33
33
34
34
- name : Build wheel
35
35
run : |
36
- echo $CC
37
- which gcc
38
- gcc --version
39
- which clang
40
- clang --version
41
-
42
36
python -m cibuildwheel --output-dir wheelhouse
43
37
- uses : actions/upload-artifact@v1
44
38
with :
45
39
name : wheels
46
40
path : ./wheelhouse
47
41
48
- build_sdist :
49
- name : Build source distribution
50
- runs-on : ubuntu-latest
51
- steps :
52
- - uses : actions/checkout@v1
53
- with :
54
- submodules : true
55
-
56
- - uses : actions/setup-python@v2
57
- name : Install Python
58
- with :
59
- python-version : ' 3.7'
60
-
61
- - name : Build sdist
62
- run : python setup.py sdist
63
-
64
- - name : test install
65
- run : pip install dist/numcodecs*.tar.gz
66
-
67
- - uses : actions/upload-artifact@v2
68
- with :
69
- path : dist/*.tar.gz
70
-
71
- test_dist_pypi :
72
- needs : [build_wheels, build_sdist]
73
- runs-on : ubuntu-latest
74
- steps :
75
- - uses : actions/download-artifact@v1
76
- with :
77
- name : artifact
78
- path : dist
79
- - uses : actions/download-artifact@v1
80
- with :
81
- name : wheels
82
- path : dist
83
-
84
- - name : test
85
- run : |
86
- ls
87
- ls dist
88
-
89
- upload_pypi :
90
- needs : [build_wheels, build_sdist]
91
- runs-on : ubuntu-latest
92
- if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
93
- steps :
94
- - uses : actions/download-artifact@v1
95
- with :
96
- name : artifact
97
- path : dist
98
- - uses : actions/download-artifact@v1
99
- with :
100
- name : wheels
101
- path : dist
102
-
103
- - uses : pypa/gh-action-pypi-publish@master
104
- with :
105
- user : __token__
106
- password : ${{ secrets.pypi_password }}
107
- # To test: repository_url: https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments