-
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 branch 'main' into webservices
- Loading branch information
Showing
39 changed files
with
390 additions
and
348 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
name: Check Actions | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
- name: Changelog check | ||
uses: Zomzog/[email protected] | ||
with: | ||
|
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,5 +109,6 @@ ENV/ | |
|
||
# autogenerated sphinx | ||
docs/reference/generated/ | ||
docs/api/generated/ | ||
|
||
/temp/ |
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.