-
Notifications
You must be signed in to change notification settings - Fork 35
63 lines (52 loc) · 1.93 KB
/
ironpython.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: ironpython
on:
push:
branches:
- main
- wip
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 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 "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 roslibpy..."
ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz
echo "Installing compas_robots..."
ipy -X:Frames -m pip install --no-deps compas_robots.tar.gz
- uses: NuGet/[email protected]
- uses: compas-dev/compas-actions.ghpython_components@v5
with:
source: src/compas_fab/ghpython/components
target: src/compas_fab/ghpython/components/ghuser
- name: Test import
run: |
echo "Testing import of compas_fab..."
ipy -m compas_fab
env:
IRONPYTHONPATH: ./src
- name: Run tests
run: |
echo "Running tests..."
ipy tests/ipy_test_runner.py
env:
IRONPYTHONPATH: ./src