summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2025-04-16 00:20:56 -0400
committerEli Schwartz <eschwartz93@gmail.com>2025-04-16 13:09:17 -0400
commitdb8938791fe7e8d22e964c78e04b2d4e61638667 (patch)
treed52629b4665bac8e232e63203af0c04e35cf5db8
parent80f26fea5ef2ff1dbd57a16f5a04d45bd2908aba (diff)
downloadmeson-db8938791fe7e8d22e964c78e04b2d4e61638667.tar.gz
build nightly wheels whenever a PR is merged
Closes https://github.com/mesonbuild/meson/issues/14419
-rw-r--r--.github/workflows/nightly.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
new file mode 100644
index 000000000..ab773f9e0
--- /dev/null
+++ b/.github/workflows/nightly.yml
@@ -0,0 +1,32 @@
+name: Nightly Wheels
+
+concurrency:
+ group: wheels
+ cancel-in-progress: true
+
+on:
+ push:
+ branches:
+ - master
+ paths:
+ - "mesonbuild/*"
+
+permissions:
+ contents: read
+
+jobs:
+ wheel:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: Build wheel
+ run: |
+ python -m pip install build setuptools_scm
+ python -m build -nwx
+ - name: Upload wheel
+ uses: scientific-python/upload-nightly-action@main
+ with:
+ artifacts_path: dist
+ anaconda_nightly_upload_token: ${{secrets.ANACONDA_ORG_UPLOAD_TOKEN}}