@@ -17,34 +17,51 @@ jobs:
1717 steps :
1818 - uses : actions/checkout@v2
1919 - name : Install dependencies
20+ shell : cmd
2021 run : |
22+ echo "Installing IronPython..."
2123 choco install ironpython --version=2.7.8.1
24+
25+ echo "Downloading ironpython-pytest..."
2226 curl -o ironpython-pytest.tar.gz -LJO https://pypi.debian.net/ironpython-pytest/latest
27+
28+ echo "Downloading COMPAS..."
2329 curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/latest
24- curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/latest
30+
31+ echo "Downloading roslibpy..."
32+ curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/roslibpy-1.8.1.tar.gz
33+
34+ echo "Downloading compas_robots..."
2535 curl -o compas_robots.tar.gz -LJO https://pypi.debian.net/compas_robots/latest
36+
37+ echo "Setting up IronPython environment..."
2638 ipy -X:Frames -m ensurepip
39+
40+ echo "Installing ironpython-pytest..."
2741 ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz
28- ipy -X:Frames -m pip install --no-deps compas.tar.gz
29- ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz
30- ipy -X:Frames -m pip install --no-deps compas_robots.tar.gz
3142
32- # untar and rename, these cannot be installed using ironpip because they not longer have a setup.py
33- tar -xf compas.tar.gz && for /d %i in (compas-*) do ren "%i" compas
34- tar -xf compas_robots.tar.gz && for /d %i in (compas_robots-*) do ren "%i" compas_robots
43+ echo "Installing roslibpy..."
44+ ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz
3545
46+ rem untar and rename, these cannot be installed using ironpip because they not longer have a setup.py
47+ tar -xf compas.tar.gz && for /d %%i in (compas-*) do ren "%%i" compas
48+ tar -xf compas_robots.tar.gz && for /d %%i in (compas_robots-*) do ren "%%i" compas_robots
3649 - uses : NuGet/setup-nuget@v1.0.5
3750 - uses : compas-dev/compas-actions.ghpython_components@v5
3851 with :
3952 source : src/compas_fab/ghpython/components
4053 target : src/compas_fab/ghpython/components/ghuser
4154 - name : Test import
55+ shell : cmd
4256 run : |
57+ echo "Testing import of compas_fab..."
4358 ipy -m compas_fab
4459 env :
4560 IRONPYTHONPATH : ./src;./compas/src;./compas_robots/src
4661 - name : Run tests
62+ shell : cmd
4763 run : |
64+ echo "Running tests..."
4865 ipy tests/ipy_test_runner.py
4966 env :
5067 IRONPYTHONPATH : ./src;./compas/src;./compas_robots/src
0 commit comments