summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/wheels.yml18
-rw-r--r--tools/wheels/cibw_before_build.sh2
-rw-r--r--tools/wheels/cibw_test_command.sh3
3 files changed, 20 insertions, 3 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index a2ef27f53..490c406e2 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -1,11 +1,25 @@
-# Workflow to build and test wheels
+# Workflow to build and test wheels.
+# To work on the wheel building infrastructure on a fork, comment out:
+#
+# if: github.repository == 'numpy/numpy'
+#
+# in the get_commit_message job. Be sure to include [cd build] in your commit
+# message to trigger the build. All files related to wheel building are located
+# at tools/wheels/
name: Wheel builder
on:
schedule:
- # Nightly build at 1:42 A.M.
+ # Nightly build at 1:42 UTC
- cron: "42 1 * * *"
push:
+ branches:
+ - main
+ - maintenance/**
+ pull_request:
+ branches:
+ - main
+ - maintenance/**
pull_request:
workflow_dispatch:
diff --git a/tools/wheels/cibw_before_build.sh b/tools/wheels/cibw_before_build.sh
index 334fb5787..36410ba1f 100644
--- a/tools/wheels/cibw_before_build.sh
+++ b/tools/wheels/cibw_before_build.sh
@@ -19,7 +19,7 @@ fi
# Install GFortran
if [[ $UNAME == "Darwin" ]]; then
- # same version of gfortran as the open-libs and numpy-wheel builds
+ # same version of gfortran as the openblas-libs and numpy-wheel builds
curl -L https://github.com/MacPython/gfortran-install/raw/master/archives/gfortran-4.9.0-Mavericks.dmg -o gfortran.dmg
GFORTRAN_SHA256=$(shasum -a 256 gfortran.dmg)
KNOWN_SHA256="d2d5ca5ba8332d63bbe23a07201c4a0a5d7e09ee56f0298a96775f928c3c4b30 gfortran.dmg"
diff --git a/tools/wheels/cibw_test_command.sh b/tools/wheels/cibw_test_command.sh
index 76353e26b..f09395e84 100644
--- a/tools/wheels/cibw_test_command.sh
+++ b/tools/wheels/cibw_test_command.sh
@@ -1,3 +1,6 @@
+# This script is used by .github/workflows/wheels.yml to build wheels with
+# cibuildwheel. It runs the full test suite, checks for lincense inclusion
+# and that the openblas version is correct.
set -xe
PROJECT_DIR="$1"