-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from compas-rrc/compas_2.x-compat
COMPAS 2.x compatibility
- Loading branch information
Showing
40 changed files
with
781 additions
and
833 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
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 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,20 @@ | ||
name: docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- 'v*' | ||
pull_request_review: | ||
types: [submitted] | ||
|
||
jobs: | ||
docs: | ||
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: compas-dev/compas-actions.docs@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
doc_url: https://compas-rrc.github.io/compas_rrc |
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,45 @@ | ||
name: ironpython | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: windows-ironpython | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
choco install ironpython --version=2.7.8.1 | ||
curl -o ironpython-pytest.tar.gz -LJO https://pypi.debian.net/ironpython-pytest/latest | ||
curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/latest | ||
curl -o compas.tar.gz -LJO https://pypi.debian.net/compas/latest | ||
curl -o compas_robots.tar.gz -LJO https://pypi.debian.net/compas_robots/latest | ||
curl -o compas_fab.tar.gz -LJO https://pypi.debian.net/compas_fab/latest | ||
ipy -X:Frames -m ensurepip | ||
ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz | ||
ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz | ||
ipy -X:Frames -m pip install --no-deps compas.tar.gz | ||
ipy -X:Frames -m pip install --no-deps compas_robots.tar.gz | ||
ipy -X:Frames -m pip install --no-deps compas_fab.tar.gz | ||
# - uses: NuGet/[email protected] | ||
# - uses: compas-dev/compas-actions.ghpython_components@v5 | ||
# with: | ||
# source: src/compas_rrc/ghpython/components | ||
# target: src/compas_rrc/ghpython/components/ghuser | ||
- name: Test import | ||
run: | | ||
ipy -c "import compas_rrc" | ||
env: | ||
IRONPYTHONPATH: ./src | ||
- name: Run tests | ||
run: | | ||
ipy tests/ipy_test_runner.py | ||
env: | ||
IRONPYTHONPATH: ./src |
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,36 @@ | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
name: Create Release | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python: ['3.8', '3.9', '3.10'] | ||
|
||
steps: | ||
- uses: compas-dev/compas-actions.build@v3 | ||
with: | ||
python: ${{ matrix.python }} | ||
invoke_lint: true | ||
check_import: true | ||
|
||
publish: | ||
needs: build | ||
runs-on: windows-latest | ||
steps: | ||
- uses: compas-dev/compas-actions.publish@v2 | ||
with: | ||
pypi_token: ${{ secrets.PYPI_PASSWORD }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
build_ghpython_components: false | ||
# gh_source: src/compas_rrc/ghpython/components | ||
# gh_target: src/compas_rrc/ghpython/components/ghuser | ||
# gh_prefix: "COMPAS RRC: " | ||
gh_interpreter: "ironpython" | ||
release_name_prefix: COMPAS RRC |
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 |
---|---|---|
|
@@ -109,3 +109,4 @@ ENV/ | |
|
||
# autogenerated sphinx | ||
docs/reference/generated/ | ||
docs/api/generated/ |
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 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## Unreleased | ||
|
||
### Added | ||
|
||
* Added `to_configuration` and `to_configuration_primitive` to `compas_rrc.ExternalAxes` and `compas_rrc.RobotJoints` | ||
|
||
### Changed | ||
|
||
* Update minimum requirements to `compas_fab > 1.x` and `compas > 2.x` | ||
|
||
### Removed | ||
|
||
## 1.1.0 | ||
|
||
### Added | ||
|
||
* Prepared github actions for continuous integration | ||
* Added compas plugin for automatic Rhino install | ||
|
||
## 1.0.0 | ||
|
||
* Initial version |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.