|
40 | 40 | - name: upload artifact |
41 | 41 | uses: actions/upload-artifact@v2 |
42 | 42 | with: |
43 | | - name: win64-opensim-4.5.1-py310np121.tar.bz2 |
44 | | - path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-4.5.1-py310np125.tar.bz2 |
45 | | - |
46 | | - windows310-moco: |
47 | | - runs-on: windows-latest |
48 | | - |
49 | | - steps: |
50 | | - - uses: actions/checkout@v1 |
51 | | - |
52 | | - - name: Install Python packages |
53 | | - uses: actions/setup-python@v4 |
54 | | - with: |
55 | | - python-version: '3.10' |
56 | | - |
57 | | - - name: Install numpy |
58 | | - #Need numpy to use SWIG numpy typemaps. |
59 | | - run: python -m pip install numpy==1.25 |
60 | | - |
61 | | - - uses: conda-incubator/setup-miniconda@v2 |
62 | | - with: |
63 | | - auto-update-conda: true |
64 | | - miniconda-version: "latest" |
65 | | - - name: Install conda-build |
66 | | - run: conda install conda-build |
67 | | - |
68 | | - - name: Conda build |
69 | | - run: | |
70 | | - chdir $env:GITHUB_WORKSPACE/opensim-moco |
71 | | - conda build . |
72 | | -
|
73 | | - - name: upload artifact |
74 | | - uses: actions/upload-artifact@v2 |
75 | | - with: |
76 | | - name: win64-opensim-moco-4.5.1-py310np125.tar.bz2 |
77 | | - path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-moco-4.5.1-py310np125.tar.bz2 |
| 43 | + name: win64-opensim-4.5.99-py310np125.tar.bz2 |
| 44 | + path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-4.5.99-py310np125.tar.bz2 |
78 | 45 |
|
79 | 46 | ubuntu310: |
80 | 47 | runs-on: ubuntu-20.04 |
@@ -119,54 +86,8 @@ jobs: |
119 | 86 | - name: upload artifact |
120 | 87 | uses: actions/upload-artifact@v2 |
121 | 88 | with: |
122 | | - name: linux64-opensim-4.5-py310np121.tar.bz2 |
123 | | - path: /usr/share/miniconda3/conda-bld/linux-64/opensim-4.5.1-py310np125.tar.bz2 |
124 | | - |
125 | | - ubuntu310-moco: |
126 | | - runs-on: ubuntu-20.04 |
127 | | - |
128 | | - steps: |
129 | | - - uses: actions/checkout@v2 |
130 | | - - uses: conda-incubator/setup-miniconda@v2 |
131 | | - with: |
132 | | - auto-update-conda: true |
133 | | - python-version: '3.10' |
134 | | - channels: conda-forge,defaults |
135 | | - miniconda-version: "latest" |
136 | | - |
137 | | - - name: Install Python packages |
138 | | - uses: actions/setup-python@v4 |
139 | | - with: |
140 | | - python-version: '3.10' |
141 | | - |
142 | | - - name: Install numpy |
143 | | - #Need numpy to use SWIG numpy typemaps. |
144 | | - run: python3 -m pip install numpy==1.25 |
145 | | - |
146 | | - - name: Install packages |
147 | | - run: sudo apt-get update && sudo apt-get install --yes build-essential libtool autoconf pkg-config gfortran libopenblas-dev liblapack-dev freeglut3-dev libxi-dev libxmu-dev doxygen python3 python3-dev python3-numpy python3-setuptools |
148 | | - |
149 | | - - name: Install SWIG |
150 | | - run: | |
151 | | - mkdir ~/swig-source && cd ~/swig-source |
152 | | - wget https://github.com/swig/swig/archive/refs/tags/v4.1.1.tar.gz |
153 | | - tar xzf v4.1.1.tar.gz && cd swig-4.1.1 |
154 | | - sh autogen.sh && ./configure --prefix=$HOME/swig --disable-ccache |
155 | | - make && make -j4 install |
156 | | -
|
157 | | - - name: Install conda-build |
158 | | - run: conda install conda-build |
159 | | - |
160 | | - - name: Conda build |
161 | | - run: | |
162 | | - cd $GITHUB_WORKSPACE/opensim-moco |
163 | | - conda build . |
164 | | - |
165 | | - - name: upload artifact |
166 | | - uses: actions/upload-artifact@v2 |
167 | | - with: |
168 | | - name: linux64-opensim-moco-4.5.1-py310np125.tar.bz2 |
169 | | - path: /usr/share/miniconda3/conda-bld/linux-64/opensim-moco-4.5.1-py310np125.tar.bz2 |
| 89 | + name: linux64-opensim-4.5.99-py310np125.tar.bz2 |
| 90 | + path: /usr/share/miniconda3/conda-bld/linux-64/opensim-4.5.99-py310np125.tar.bz2 |
170 | 91 |
|
171 | 92 | style: |
172 | 93 | name: Style |
|
0 commit comments