Skip to content

Commit 2611a64

Browse files
committed
Run nightly CI, but only on sudara/pamp. Closes #145
1 parent 92f2b1b commit 2611a64

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Pamplejuce
22

33
on:
44
workflow_dispatch: # lets you run a build from the UI
5+
workflow_call: # lets other workflows (like nightly.yml) call this one
56
push:
67
pull_request:
78

.github/workflows/nightly.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This workflow is for the Pamplejuce template repo itself (sudara/pamplejuce).
2+
# It runs a nightly build to catch issues with dependencies, JUCE updates, etc.
3+
# If you're using this template for your own plugin, feel free to delete this file.
4+
name: Nightly
5+
6+
on:
7+
schedule:
8+
- cron: '0 10 * * *'
9+
10+
jobs:
11+
nightly:
12+
# Only run on the original Pamplejuce repo, not forks or template copies
13+
if: github.repository == 'sudara/pamplejuce'
14+
uses: ./.github/workflows/build_and_test.yml

0 commit comments

Comments
 (0)