Skip to content

Commit abee2f2

Browse files
committed
try to foce gcc
1 parent 5251edd commit abee2f2

File tree

1 file changed

+1
-67
lines changed

1 file changed

+1
-67
lines changed

.github/workflows/wheel.yaml

+1-67
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
CIBW_TEST_REQUIRES: pytest
1616
CIBW_SKIP: "*27* pp* *35*"
1717
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"
1919

2020
steps:
2121
- uses: actions/checkout@v1
@@ -33,75 +33,9 @@ jobs:
3333
3434
- name: Build wheel
3535
run: |
36-
echo $CC
37-
which gcc
38-
gcc --version
39-
which clang
40-
clang --version
41-
4236
python -m cibuildwheel --output-dir wheelhouse
4337
- uses: actions/upload-artifact@v1
4438
with:
4539
name: wheels
4640
path: ./wheelhouse
4741

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/

0 commit comments

Comments
 (0)