-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create main.yml * add openctm as submodule, update dev environment * fix config, fix linux build, ... * fix config * debug config * debug further * this should fix it * test package publish * fix config typo * make setup.py python 2.7 compatible * remove travis * fix typo * remove pathlib * fix pipfile * fix win32 lib path * debug * fix windows build * debug * debug * debug * fix paths * this should fix it * fix publish * try and fix build * fix config * clean up * skip testing 3.5 and 3.4 * fix build * fix build * change test versions * update readme and worflow
- Loading branch information
Showing
14 changed files
with
237 additions
and
115 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,85 @@ | ||
name: OpenCTM Release | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python: [3.8, 3.7, 3.6, 3.5] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Run tests | ||
run: | | ||
python -m pip install pipenv==2018.11.26 | ||
pipenv install -d --python ${{ matrix.python }} | ||
pipenv run pytest tests | ||
shell: bash | ||
|
||
package-source: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Build source package | ||
run: python setup.py sdist | ||
- name: Upload source package | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: dist | ||
path: dist/ | ||
|
||
package-wheel: | ||
runs-on: ${{ matrix.os }} | ||
needs: [test] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Build wheels | ||
env: | ||
CIBW_SKIP: cp27-* pp27-* cp34-* | ||
run: | | ||
pip install cibuildwheel | ||
cibuildwheel --output-dir dist | ||
shell: bash | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: dist | ||
path: dist/ | ||
|
||
publish: | ||
runs-on: ubuntu-latest | ||
needs: [test, package-source, package-wheel] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v1 | ||
with: | ||
name: dist | ||
path: dist/ | ||
- name: Publish to PyPI | ||
if: github.event_name == 'push' && contains(github.event.ref, 'master') | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: ${{ secrets.pypi_user }} | ||
password: ${{ secrets.pypi_password }} |
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 @@ | ||
[submodule "submodules/OpenCTM"] | ||
path = submodules/OpenCTM | ||
url = https://github.com/Danny02/OpenCTM.git |
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,11 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[dev-packages] | ||
openctm = { path="." } | ||
trimesh = "*" | ||
pytest = "*" | ||
importlib-metadata = { version= ">=0.12", markers = "python_version < '3.8'"} | ||
atomicwrites = { version = ">=1.0", markers = "sys_platform=='win32'"} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.0.10' | ||
__version__ = '1.0.11' |
Oops, something went wrong.