Repository navigation
Nightly linux builds - #103
Conversation
mattip
left a comment
There was a problem hiding this comment.
Looks good. With an eye to merging this with the other build, we could do something like this to identify a cron run or a manually-triggered CI run
env:
NIGHTLY: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
and use that to override other settings like the tarball name and OPENBLAS_COMMIT
| cd /io | ||
| source travis-ci/build_steps.sh | ||
| do_build_lib "$PLAT" "" "$INTERFACE64" | ||
| do_build_lib "$PLAT" "" "$INTERFACE64" "$NIGHTLY" |
There was a problem hiding this comment.
This is the one used by the docker image for linux
Default branch was updated recently from master to main
|
This PR now starts from #104, as it'll need it anyway to work.
So I've mangled nightly builds into Unfortunately I couldn't figure out why bash scripts wouldn't recognise env variables on GitHub Actions, where they would when run locally. The pass through of - local version=$(cd OpenBLAS && git describe --tags --abbrev=8)
+ if [ "$NIGHTLY" = "true" ]; then
+ local version="HEAD"
+ else
+ local version=$(cd OpenBLAS && git describe --tags --abbrev=8)
+ fi |
|
Let's give it a shot. I can do a manual workflow run once this is merged. |
Resolves #100.
As suggested by @mattip, I've tackled this by having the nightly builds be uploaded to the same filenames with "HEAD" where the version would be. This is a crude approach compared to how other nightlies work (see
scipy-wheels-nightly), but should be fine for the purposes of testing NumPy and SciPy against OpenBLAS nightlies.Example filenames
This PR is only generating linux builds (basically copy-pasted the
multibuild.ymlworkflow). Some linux builds fail, which I can have a look at but might be a cakewalk to resolve for you folks 😅 As the new workflow runs on cron rather than push, you can look at honno#2 (test PR I made). From the latest Actions run, the following jobs are currently failing:Also note I removed Mac and Windows builds just so I could push a MVP on nightlies out the door, but I could re-instate Mac builds at least as they already work with
multibuild.ymland thus should withnightly_multibuild.yml(although when I tried before they failed too).cc @steppi