mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Add GitHub Actions configuration
This commit is contained in:
parent
9a6f925bcb
commit
35c7afc6a1
11 changed files with 341 additions and 9 deletions
57
.github/workflows/juce_private_build.yml
vendored
Normal file
57
.github/workflows/juce_private_build.yml
vendored
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
name: JUCE Private Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
triggerer:
|
||||
required: false
|
||||
type: string
|
||||
default: ''
|
||||
description: The GitHub ID to receive email notifications (leave blank)
|
||||
nightly-targets:
|
||||
required: false
|
||||
type: string
|
||||
default: "[]"
|
||||
description: A list of nightly build targets in JSON format
|
||||
cpp-std:
|
||||
required: false
|
||||
type: string
|
||||
default: ""
|
||||
description: The C++ standard to use (optional [20, 23])
|
||||
|
||||
run-name: "[${{ inputs.triggerer && inputs.triggerer || github.event.sender.login }}] ${{ github.sha }}"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: .
|
||||
# Not having the ability to do a dynamic 'uses' call is a real pain. To
|
||||
# test some new CI configuration you must set the branch in both places
|
||||
# below.
|
||||
uses: juce-framework/JUCE-utils/.github/workflows/main.yml@master
|
||||
with:
|
||||
juce-utils-branch: master
|
||||
nightly-targets: ${{ inputs.nightly-targets }}
|
||||
triggerer: ${{ inputs.triggerer && inputs.triggerer || github.event.sender.login }}
|
||||
cpp-std: ${{ inputs.cpp-std }}
|
||||
secrets: inherit
|
||||
deploy:
|
||||
if: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.nightly-targets == '[]' }}
|
||||
needs: [build]
|
||||
name: Deploy
|
||||
uses: juce-framework/JUCE-utils/.github/workflows/deploy.yml@master
|
||||
secrets: inherit
|
||||
docs:
|
||||
if: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.nightly-targets == '[]' }}
|
||||
needs: [deploy]
|
||||
name: Docs
|
||||
uses: juce-framework/JUCE-utils/.github/workflows/docs.yml@master
|
||||
secrets: inherit
|
||||
notify:
|
||||
if: ${{ inputs.nightly-targets == '[]' }}
|
||||
needs: [docs]
|
||||
name: Notify
|
||||
uses: juce-framework/JUCE-utils/.github/workflows/notify.yml@master
|
||||
with:
|
||||
triggerer: ${{ inputs.triggerer && inputs.triggerer || github.event.sender.login }}
|
||||
secrets: inherit
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue