Skip to content

Commit

Permalink
update ipy workflow to new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yck011522 committed Sep 25, 2024
1 parent e6e8f36 commit 737355a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ironpython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
build:
name: windows-ironpython
runs-on: windows-latest
env:
COMPAS_URL: https://github.com/compas-dev/compas/archive/refs/tags/v2.4.2.tar.gz
COMPAS_ROBOTS_URL: https://github.com/compas-dev/compas_robots/archive/a40673d.tar.gz
IRONPYTHON_PYTEST_URL: https://pypi.debian.net/ironpython-pytest/latest
ROSLIBPY_URL: https://pypi.debian.net/roslibpy/latest

steps:
- uses: actions/checkout@v2
- name: Install dependencies
Expand All @@ -19,16 +25,16 @@ jobs:
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
curl -o ironpython-pytest.tar.gz -LJO ${{ env.IRONPYTHON_PYTEST_URL }}
echo "Downloading COMPAS..."
curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/COMPAS-2.1.0.tar.gz
curl -o compas.tar.gz -LJO ${{ env.COMPAS_URL }}
echo "Downloading roslibpy..."
curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/latest
curl -o roslibpy.tar.gz -LJO ${{ env.ROSLIBPY_URL }}
echo "Downloading compas_robots..."
curl -o compas_robots.tar.gz -LJO https://pypi.debian.net/compas_robots/latest
curl -o compas_robots.tar.gz -LJO ${{ env.COMPAS_ROBOTS_URL }}
echo "Setting up IronPython environment..."
ipy -X:Frames -m ensurepip
Expand All @@ -38,7 +44,7 @@ jobs:
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
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# NOTE: Remember to also update the .github/workflows/ironpython.yml file
compas >= 2.3, < 3
compas_robots @ git+https://github.com/compas-dev/compas_robots@a40673d
# compas_robots >= 0.5, < 1
Expand Down

0 comments on commit 737355a

Please sign in to comment.