-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pytroll:main' into main
- Loading branch information
Showing
12 changed files
with
126 additions
and
177 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,87 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [main, "maint/*"] | ||
pull_request: | ||
branches: [main, "maint/*"] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
BUILDMODE: [CIBUILDWHEEL, ASTROPY] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
|
||
- name: Set up QEMU | ||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.BUILDMODE == 'CIBUILDWHEEL' }} | ||
id: qemu | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Setup Conda Environment | ||
if: ${{ matrix.BUILDMODE == 'ASTROPY' }} | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
miniforge-variant: Mambaforge | ||
miniforge-version: latest | ||
use-mamba: true | ||
python-version: ${{ matrix.python-version }} | ||
environment-file: ci/environment.yaml | ||
activate-environment: test-environment | ||
|
||
- name: Run tests | ||
if: ${{ matrix.BUILDMODE == 'ASTROPY' }} | ||
shell: bash -l {0} | ||
run: | | ||
pip install -e . | ||
python selftest.py | ||
- name: Build wheel | ||
if: ${{ matrix.BUILDMODE == 'CIBUILDWHEEL' }} | ||
env: | ||
CIBW_TEST_COMMAND: python {project}/selftest.py | ||
CIBW_BEFORE_BUILD_LINUX: yum install -y freetype-devel | ||
CIBW_SKIP: pp* *-musllinux* | ||
CIBW_TEST_REQUIRES: numpy pillow pytest | ||
CIBW_ARCHS_LINUX: auto aarch64 | ||
run: | | ||
python -m pip install cibuildwheel | ||
cibuildwheel --output-dir wheelhouse | ||
- name: upload | ||
if: ${{ matrix.BUILDMODE == 'CIBUILDWHEEL' }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: wheelhouse | ||
path: "wheelhouse/*.whl" | ||
|
||
publish: | ||
if: startsWith(github.ref, 'refs/tags') | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
|
||
- name: sdist | ||
run: python setup.py sdist | ||
|
||
- name: download | ||
uses: actions/download-artifact@v2 | ||
|
||
- name: Install dependencies | ||
run: python -m pip install twine | ||
|
||
- name: Publish wheels to PyPI | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python -m twine upload --skip-existing dist/*.tar.gz | ||
python -m twine upload --skip-existing wheelhouse/*.whl |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,20 +2,22 @@ | |
The aggdraw module | ||
================== | ||
|
||
.. image:: https://travis-ci.org/pytroll/aggdraw.svg?branch=main | ||
:target: https://travis-ci.org/pytroll/aggdraw | ||
|
||
.. image:: https://ci.appveyor.com/api/projects/status/9g7qt1kitwxya7u4/branch/main?svg=true | ||
:target: https://ci.appveyor.com/project/pytroll/aggdraw/branch/main | ||
.. image:: https://github.com/pytroll/aggdraw/workflows/CI/badge.svg?branch=main | ||
:target: https://github.com/pytroll/aggdraw/actions?query=workflow%3A%22CI%22 | ||
|
||
---------------------------------------------------------------------- | ||
agg 2.4 notes | ||
---------------------------------------------------------------------- | ||
|
||
aggdraw was ported to agg 2.4 and extended by | ||
|
||
Dov Grobgeld <[email protected]> | ||
2016-05-30 Mon | ||
|
||
This port is planned for released as 1.4.0, but currently produces different | ||
results from previous versions and the causes of these differences have not | ||
been tracked down. | ||
|
||
---------------------------------------------------------------------- | ||
Original README | ||
---------------------------------------------------------------------- | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
name: test-environment | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- numpy | ||
- pillow | ||
- pytest |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
[build-system] | ||
requires = ["packaging", "setuptools"] | ||
build-backend = "setuptools.build_meta" |
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