Skip to content

Commit

Permalink
Trying out workflow from compas
Browse files Browse the repository at this point in the history
  • Loading branch information
yck011522 committed Sep 26, 2024
1 parent 7ef79d6 commit c0a54cd
Showing 1 changed file with 30 additions and 9 deletions.
39 changes: 30 additions & 9 deletions .github/workflows/ironpython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,52 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
- name: "Set up CPython 3.9"
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: "Install CPython dependencies"
run: |
python -m pip install --upgrade pip
- name: "Install COMPAS Fab on CPython First"
run: |
pip install --no-cache-dir .
- name: Install Ironpython 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.4.2.tar.gz
echo "Ensure pip on IronPython and install pytest..."
ipy -X:Frames -m ensurepip
ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz
- name: Install other dependencies in IPY
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.4.2.tar.gz
echo "Downloading roslibpy..."
curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/latest
echo "Downloading compas_robots..."
curl -o compas_robots.tar.gz -LJO https://pypi.debian.net/compas_robots/latest
echo "Setting up IronPython environment..."
ipy -X:Frames -m ensurepip
# 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 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..."
# ipy -X:Frames -m pip install --no-deps compas.tar.gz
echo "Installing roslibpy..."
ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz
Expand Down

0 comments on commit c0a54cd

Please sign in to comment.