Skip to content

Commit fc9db82

Browse files
committed
reorder uploads to do wheels first
1 parent 6cb3501 commit fc9db82

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.github/workflows/posix.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ jobs:
127127
128128
- uses: actions/[email protected]
129129
with:
130-
name: openblas-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}
131-
path: libs/openblas*.tar.gz
130+
name: wheels-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}
131+
path: dist/scipy_openblas*.whl
132132

133133
- uses: actions/[email protected]
134134
with:
135-
name: wheels-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}
136-
path: dist/scipy_openblas*.whl
135+
name: openblas-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}
136+
path: libs/openblas*.tar.gz
137137

138138
- uses: conda-incubator/[email protected]
139139
with:

.github/workflows/windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ jobs:
126126

127127
- uses: actions/[email protected]
128128
with:
129-
name: openblas-${{matrix.plat }}-${{ matrix.INTERFACE64 }}
130-
path: builds/openblas*.zip
129+
name: wheels-${{matrix.plat }}-${{ matrix.INTERFACE64 }}
130+
path: dist/scipy_openblas*.whl
131131

132132
- uses: actions/[email protected]
133133
with:
134-
name: wheels-${{matrix.plat }}-${{ matrix.INTERFACE64 }}
135-
path: dist/scipy_openblas*.whl
134+
name: openblas-${{matrix.plat }}-${{ matrix.INTERFACE64 }}
135+
path: builds/openblas*.zip
136136

137137
- name: Test 64-bit interface wheel
138138
if: matrix.INTERFACE64 == '1'

tools/build_steps.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ function do_build_lib {
191191
sed -e "s/\(^Cflags.*\)/\1 -DBLAS_SYMBOL_PREFIX=scipy_ -DBLAS_SYMBOL_SUFFIX=64_/" -i.bak $BUILD_PREFIX/lib/pkgconfig/scipy-openblas.pc
192192
else
193193
sed -e "s/\(^Cflags.*\)/\1 -DBLAS_SYMBOL_PREFIX=scipy_/" -i.bak $BUILD_PREFIX/lib/pkgconfig/scipy-openblas.pc
194+
rm $BUILD_PREFIX/lib/pkgconfig/scipy-openblas.pc.bak
194195
fi
195196

196197
local out_name="openblas${symbolsuffix}-${version}-${plat_tag}${suff}.tar.gz"

tools/upload_to_anaconda_staging.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ upload_wheels() {
1818
else
1919
echo "Uploading OpenBLAS $VERSION to anaconda.org staging:"
2020

21+
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
22+
--no-progress --force -u scientific-python-nightly-wheels \
23+
dist/scipy_openblas*.whl
24+
2125
tarballs=$(ls -d builds/openblas*.zip libs/openblas*.tar.gz 2>/dev/null)
2226
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
2327
--no-progress --force -u scientific-python-nightly-wheels \
2428
-t file -p "openblas-libs" -v "$VERSION" \
2529
-d "OpenBLAS for multibuild wheels" \
2630
-s "OpenBLAS for multibuild wheels" \
2731
${tarballs}
28-
29-
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
30-
--no-progress --force -u scientific-python-nightly-wheels \
31-
dist/scipy_openblas*.whl
3232
fi
3333
}

0 commit comments

Comments
 (0)