Skip to content

Commit 0a67cba

Browse files
committed
CI: Add conda-windows job
1 parent f21491d commit 0a67cba

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/workflows/ci.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,57 @@ jobs:
133133
env:
134134
PYTHON: python
135135
shell: bash -l {0}
136+
137+
conda-windows:
138+
name: conda:windows-latest/${{ matrix. ruby }}/${{ matrix.python }}
139+
runs-on: windows-latest
140+
141+
strategy:
142+
fail-fast: false
143+
matrix:
144+
ruby:
145+
- "3.0"
146+
python:
147+
- 3.8
148+
149+
defaults:
150+
run:
151+
shell: pwsh
152+
153+
steps:
154+
- uses: actions/checkout@v2
155+
with:
156+
fetch-depth: 1
157+
158+
- uses: conda-incubator/setup-miniconda@v2
159+
with:
160+
activate-environment: test
161+
python-version: ${{ matrix.python }}
162+
163+
- run: set
164+
shell: cmd
165+
166+
- name: Add conda's DLL path
167+
run: |
168+
echo $env:CONDA\Library\bin >> $GITHUB_PATH
169+
echo $env:CONDA_PREFIX\Library\bin >> $GITHUB_PATH
170+
171+
- uses: ruby/setup-ruby@v1
172+
if: matrix.ruby_version != 'master-nightly'
173+
with:
174+
ruby-version: ${{ matrix.ruby }}
175+
176+
- run: conda install numpy
177+
178+
- run: python -c 'import numpy; print(numpy)'
179+
180+
- run: bundle install
181+
182+
- run: rake compile
183+
184+
- run: python lib/pycall/python/investigator.py
185+
186+
- run: |
187+
rake
188+
env:
189+
PYTHON: python

0 commit comments

Comments
 (0)