Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/actions/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/sh

PYTHONS=("cp37-cp37m" "cp38-cp38" "cp39-cp39")
# if testing locally try the docker image interactively
# docker run --net=host -it --rm -v $(pwd):/home/ quay.io/pypa/manylinux2010_x86_64

PYTHONS=("cp38-cp38" "cp39-cp39" "cp310-cp310")

for PYTHON in ${PYTHONS[@]}; do
/opt/python/${PYTHON}/bin/pip install --upgrade pip wheel setuptools setuptools_scm pep517 twine auditwheel
/opt/python/${PYTHON}/bin/pip install numpy==1.18
/opt/python/${PYTHON}/bin/python -m pep517.build --source --binary . --out-dir /github/workspace/wheelhouse/
/opt/python/${PYTHON}/bin/pip install oldest-supported-numpy
/opt/python/${PYTHON}/bin/python -m build --sdist --wheel . --outdir /github/workspace/wheelhouse/
done

for whl in /github/workspace/wheelhouse/gsw*.whl; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: copy manylinux wheels
run: |
mkdir dist
cp wheelhouse/gsw*.whl dist/
cp wheelhouse/gsw*manylinux2010_x86_64.whl dist/

- name: CheckFiles
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [macos-latest]
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Install build tools
run: |
python -m pip install --upgrade pip wheel setuptools setuptools_scm pep517 twine
python -m pip install numpy==1.18
python -m pip install oldest-supported-numpy
shell: bash

- name: Build binary wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [windows-latest]
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Install build tools
run: |
python -m pip install --upgrade pip wheel setuptools setuptools_scm pep517 twine
python -m pip install numpy==1.18
python -m pip install oldest-supported-numpy
shell: bash

- name: Build binary wheel
Expand Down