Skip to content

missing link fix

missing link fix #34

Workflow file for this run

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/compas_timber-0.7.0.tar.gz
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/[email protected]
- 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