-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into test_on_sage_9.8
- Loading branch information
Showing
224 changed files
with
7,293 additions
and
4,599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
cirrus_wheels_macos_arm64_task: | ||
name: Build macOS arm64 wheels. | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest | ||
env: | ||
CIBW_ARCHS_MACOS: arm64 | ||
CIBW_SKIP: pp* cp38* | ||
CIBW_BEFORE_BUILD: > | ||
pip install cython FXrays low_index sphinx sphinx_rtd_theme && | ||
pip install --pre --extra-index-url https://test.pypi.org/simple cypari && | ||
pip install git+https://github.com/3-manifolds/PLink && | ||
pip install git+https://github.com/3-manifolds/snappy_manifolds && | ||
pip install git+https://github.com/3-manifolds/Spherogram | ||
CIBW_BEFORE_TEST: > | ||
pip install cython low_index && | ||
pip install --pre --extra-index-url https://test.pypi.org/simple cypari && | ||
pip install git+https://github.com/3-manifolds/PLink && | ||
pip install git+https://github.com/3-manifolds/snappy_manifolds && | ||
pip install git+https://github.com/3-manifolds/Spherogram | ||
CIBW_TEST_COMMAND: python -m snappy.test --skip-modern-opengl | ||
install_pre_requirements_script: | ||
- brew install python3 | ||
- python3 --version | ||
install_cibuildwheel_script: | ||
- python3 -m pip install cibuildwheel | ||
run_cibuildwheel_script: | ||
- python3 -m cibuildwheel --output-dir wheelhouse | ||
wheels_artifacts: | ||
path: "wheelhouse/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Lint | ||
on: | ||
push: { branches: [ "master" ] } | ||
pull_request: { branches: [ "master" ] } | ||
|
||
jobs: | ||
codespell: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
shell: bash -l {0} | ||
run: | | ||
sudo apt-get install -y codespell | ||
sudo apt-get install -y pycodestyle | ||
- name: Run codespell | ||
shell: bash -l {0} | ||
run: codespell -L ans,arithmetics,inout,trough,compresser,rime,ba python | ||
- name: Run pycodestyle | ||
shell: bash -l {0} | ||
# We currently only check for some warnings. We should enable & fix more of them. | ||
run: | | ||
pycodestyle --select=E111,E21,E221,E222,E225,E227,E228,E241,E251,E262,E265,E271,E272,E30,E401,E701,E702,E703,E704,E711,E713,E714,E721,W2,W3,W6 python/ | ||
pycodestyle --filename=*.pyx --select=W2 cython/ | ||
env: | ||
MAKEFLAGS: -j2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: macOS Older Python Wheels | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build_wheels: | ||
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-11] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-python@v3 | ||
name: Install Python | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
env: | ||
# Skip Python 2.7, 3.5, 3.11, 32 bit Linux, and PyPy | ||
CIBW_SKIP: cp27-* cp35-* cp38-* cp39-* cp310-* cp311-* pp* | ||
CIBW_ARCHS_MACOS: x86_64 | ||
CIBW_BEFORE_BUILD: > | ||
pip install cython FXrays low_index sphinx sphinx_rtd_theme && | ||
pip install --pre --extra-index-url https://test.pypi.org/simple cypari && | ||
pip install git+https://github.com/3-manifolds/PLink && | ||
pip install git+https://github.com/3-manifolds/snappy_manifolds && | ||
pip install git+https://github.com/3-manifolds/Spherogram | ||
CIBW_BEFORE_TEST: > | ||
pip install cython low_index && | ||
pip install --pre --extra-index-url https://test.pypi.org/simple cypari && | ||
pip install git+https://github.com/3-manifolds/PLink && | ||
pip install git+https://github.com/3-manifolds/snappy_manifolds && | ||
pip install git+https://github.com/3-manifolds/Spherogram | ||
CIBW_TEST_COMMAND: python -m snappy.test --skip-modern-opengl | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: snappy_macos_older_wheels | ||
path: ./wheelhouse/*.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.