File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 3333 python-version : 3.8
3434 architecture : x64
3535 install : archive
36- pip-flags : $ PRE_PIP_FLAGS
36+ pip-flags : PRE_PIP_FLAGS
3737 exclude :
3838 - os : ubuntu-latest
3939 architecture : x86
4646 INSTALL_TYPE : ${{ matrix.install }}
4747 CHECK_TYPE : ' test'
4848 EXTRA_PIP_FLAGS : ${{ matrix.pip-flags }}
49- NIGHTLY_WHEELS : ' https://pypi.anaconda.org/scipy-wheels-nightly/simple'
50- PRE_PIP_FLAGS : ' --pre --extra-index-url $NIGHTLY_WHEELS'
49+ PRE_PIP_FLAGS : ' --pre --extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple'
5150
5251 steps :
5352 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ echo EXTRA_PIP_FLAGS = $EXTRA_PIP_FLAGS
1313
1414set -x
1515
16+ if [ -n " $EXTRA_PIP_FLAGS " ]; then
17+ EXTRA_PIP_FLAGS=${! EXTRA_PIP_FLAGS}
18+ fi
19+
1620if [ " $INSTALL_TYPE " == " setup" ]; then
1721 python setup.py install
1822else
Original file line number Diff line number Diff line change @@ -12,9 +12,13 @@ echo DEPENDS = $DEPENDS
1212
1313set -x
1414
15+ if [ -n " $EXTRA_PIP_FLAGS " ]; then
16+ EXTRA_PIP_FLAGS=${! EXTRA_PIP_FLAGS}
17+ fi
18+
1519if [ -n " $DEPENDS " ]; then
16- pip install $EXTRA_PIP_FLAGS $DEPENDS
17- pip install $EXTRA_PIP_FLAGS $OPTIONAL_DEPENDS || true
20+ pip install ${ EXTRA_PIP_FLAGS} $DEPENDS
21+ pip install ${ EXTRA_PIP_FLAGS} $OPTIONAL_DEPENDS || true
1822fi
1923
2024set +eux
You can’t perform that action at this time.
0 commit comments