-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a34cbdd
commit 0668758
Showing
5 changed files
with
98 additions
and
22 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
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://gramaziokohler.github.io/compas_xr |
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,75 @@ | ||
name: ironpython | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: windows-ironpython | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
echo "Installing IronPython..." | ||
choco install ironpython --version=2.7.8.1 | ||
echo "Downloading ironpython-pytest..." | ||
curl -o ironpython-pytest.tar.gz -LJO https://pypi.debian.net/ironpython-pytest/latest | ||
echo "Downloading COMPAS..." | ||
curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/COMPAS-2.1.0.tar.gz | ||
echo "Downloading compas_robots..." | ||
curl -o compas_robots.tar.gz -LJO https://pypi.debian.net/compas_robots/latest | ||
echo "Downloading compas_fab..." | ||
curl -o compas_fab.tar.gz -LJO https://pypi.debian.net/compas_fab/latest | ||
echo "Downloading compas_eve..." | ||
curl -o compas_eve.tar.gz -LJO https://pypi.debian.net/compas_eve/latest | ||
echo "Downloading compas_timber..." | ||
curl -o compas_timber.tar.gz -LJO https://pypi.debian.net/compas_timber/latest | ||
echo "Setting up IronPython environment..." | ||
ipy -X:Frames -m ensurepip | ||
echo "Installing ironpython-pytest..." | ||
ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz | ||
echo "Installing COMPAS..." | ||
ipy -X:Frames -m pip install --no-deps compas.tar.gz | ||
echo "Installing compas_robots..." | ||
ipy -X:Frames -m pip install --no-deps compas_robots.tar.gz | ||
echo "Installing compas_fab..." | ||
ipy -X:Frames -m pip install --no-deps compas_fab.tar.gz | ||
echo "Installing compas_eve..." | ||
ipy -X:Frames -m pip install --no-deps compas_eve.tar.gz | ||
echo "Installing compas_timber..." | ||
ipy -X:Frames -m pip install --no-deps compas_timber.tar.gz | ||
- uses: NuGet/setup-nuget@v1.0.5 | ||
- uses: compas-dev/compas-actions.ghpython_components@v5 | ||
with: | ||
source: src/compas_xr/ghpython/components | ||
target: src/compas_xr/ghpython/components/ghuser | ||
- name: Test import | ||
run: | | ||
echo "Testing import of compas_xr..." | ||
ipy -m compas_xr | ||
env: | ||
IRONPYTHONPATH: ./src | ||
- name: Run tests | ||
run: | | ||
echo "Running tests..." | ||
ipy tests/ipy_test_runner.py | ||
env: | ||
IRONPYTHONPATH: ./src |
File renamed without changes.