Skip to content

Commit 544c6b9

Browse files
authored
Merge pull request #111 from honno/change-anaconda-org
Upload to `scientific-python-nightly-wheels`, change nightly frequency to weekly
2 parents 903f2bc + 3749c72 commit 544c6b9

File tree

5 files changed

+14
-16
lines changed

5 files changed

+14
-16
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080

8181
- name: Upload
8282
env:
83-
OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN: ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
83+
ANACONDA_SCIENTIFIC_PYTHON_UPLOAD: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
8484
run: |
8585
# Pin urllib3<2 due to github.com/Anaconda-Platform/anaconda-client/issues/654
8686
conda install "urllib3<2" anaconda-client

.github/workflows/multibuild.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ main ]
88
workflow_dispatch: null
99
schedule:
10-
- cron: '0 0 * * *'
10+
- cron: '0 0 * * 0'
1111

1212
jobs:
1313
build:
@@ -64,8 +64,6 @@ jobs:
6464
MB_ML_VER: ${{ matrix.MB_ML_VER }}
6565
INTERFACE64: ${{ matrix.INTERFACE64 }}
6666
BUILD_DIR: ${{ github.workspace }}
67-
SCIPY_WHEELS_NIGHTLY_ACCESS: ${{ secrets.SCIPY_WHEELS_NIGHTLY_ACCESS }}
68-
MULTIBUILD_WHEELS_STAGING_ACCESS: ${{ secrets.MULTIBUILD_WHEELS_STAGING_BUILD }}
6967
PLAT: ${{ matrix.PLAT }}
7068

7169
steps:
@@ -127,10 +125,10 @@ jobs:
127125
- name: Upload tarballs
128126
run: |
129127
set -ex
130-
TOKEN=${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
128+
TOKEN=${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
131129
if [ "$TOKEN" == "" ]; then
132130
# The token is available when under the MacPython org, not on forks
133-
echo "secrets.MULTIBUILD_WHEELS_STAGING_ACCESS is not defined: skipping";
131+
echo "secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD is not defined: skipping";
134132
else
135133
# Pin urllib3<2 due to github.com/Anaconda-Platform/anaconda-client/issues/654
136134
pip install "urllib3<2.0.0"
@@ -139,7 +137,7 @@ jobs:
139137
# option to the "upload" command
140138
args=(
141139
-t ${TOKEN} upload
142-
--no-progress -u multibuild-wheels-staging
140+
--no-progress -u scientific-python-nightly-wheels
143141
-t file -p "openblas-libs"
144142
-d "OpenBLAS for multibuild wheels"
145143
-s "OpenBLAS for multibuild wheels"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a repository to trigger builds of OpenBLAS on Travis-CI (for aarch64,
44
ppc64, s390x) and github actions for all the others.
55

66
The OpenBLAS libraries get uploaded to
7-
https://anaconda.org/multibuild-wheels-staging/openblas-libs/files
7+
https://anaconda.org/scientific-python-nightly-wheels/openblas-libs/files
88

99
A project using these libraries, for Manylinux or macOS, will need the
1010
``gfortran-install`` submodule used here, from

tools/upload_to_anaconda_staging.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ pushd OpenBLAS
99
VERSION=$(git describe --tags --abbrev=8)
1010
popd
1111

12-
if [ "$OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN" == "" ]; then
13-
echo "OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN is not defined: skipping."
12+
if [ "$ANACONDA_SCIENTIFIC_PYTHON_UPLOAD" == "" ]; then
13+
echo "ANACONDA_SCIENTIFIC_PYTHON_UPLOAD is not defined: skipping."
1414
else
1515
echo "Uploading OpenBLAS $VERSION to anaconda.org staging:"
1616
ls -lh builds/openblas*.zip
1717

18-
anaconda -t $OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN upload \
19-
--no-progress --force -u multibuild-wheels-staging \
18+
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
19+
--no-progress --force -u scientific-python-nightly-wheels \
2020
-t file -p "openblas-libs" -v "$VERSION" \
2121
-d "OpenBLAS for multibuild wheels" \
2222
-s "OpenBLAS for multibuild wheels" \

travis-ci/build_steps.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ function do_build_lib {
196196
}
197197

198198
function upload_to_anaconda {
199-
if [ "$OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN" == "" ]; then
200-
echo "OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN is not defined: skipping."
199+
if [ "$ANACONDA_SCIENTIFIC_PYTHON_UPLOAD" == "" ]; then
200+
echo "ANACONDA_SCIENTIFIC_PYTHON_UPLOAD is not defined: skipping."
201201
else
202-
anaconda -t $OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN upload \
203-
--no-progress --force -u multibuild-wheels-staging \
202+
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
203+
--no-progress --force -u scientific-python-nightly-wheels \
204204
-t file -p "openblas-libs" \
205205
-v "$(cd OpenBLAS && git describe --tags --abbrev=8)" \
206206
-d "OpenBLAS for multibuild wheels" \

0 commit comments

Comments
 (0)