File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -73,11 +73,23 @@ before_install:
73
73
74
74
install :
75
75
# Maybe get and clean and patch source
76
- - clean_code $REPO_DIR $OPENBLAS_COMMIT
76
+ - |
77
+ if [ ${TRAVIS_EVENT_TYPE} == "cron" ]; then
78
+ clean_code $REPO_DIR develop
79
+ else
80
+ clean_code $REPO_DIR $OPENBLAS_COMMIT
81
+ fi
77
82
78
83
script :
79
84
# Build library and collect into libs subdirectory
80
- - build_lib "$PLAT" "$INTERFACE64"
85
+ - |
86
+ if [ ${TRAVIS_EVENT_TYPE} == "cron" ]; then
87
+ build_lib "$PLAT" "$INTERFACE64" 1
88
+ version=$(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g")
89
+ sed -e "s/^version = .*/version = \"${version}\"/" -i.bak pyproject.toml
90
+ else
91
+ build_lib "$PLAT" "$INTERFACE64" 0
92
+ fi
81
93
- libc=${MB_ML_LIBC:-manylinux}
82
94
- docker_image=quay.io/pypa/${libc}${MB_ML_VER}_${PLAT}
83
95
- docker run --rm -e INTERFACE64="${INTERFACE64}" \
You can’t perform that action at this time.
0 commit comments