add paths to all workflows

This commit is contained in:
hathach 2022-12-08 09:44:26 +07:00
parent a3827b87fe
commit 91d5fa5639
8 changed files with 79 additions and 25 deletions

View File

@ -1,11 +1,19 @@
name: Build AArch64 name: Build AArch64
on: on:
pull_request:
push: push:
release: paths:
types: - 'src'
- created - 'examples'
- 'lib'
- 'hw'
pull_request:
branches: [ master ]
paths:
- 'src'
- 'examples'
- 'lib'
- 'hw'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -9,6 +9,11 @@ on:
- 'hw' - 'hw'
pull_request: pull_request:
branches: [ master ] branches: [ master ]
paths:
- 'src'
- 'examples'
- 'lib'
- 'hw'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -1,11 +1,19 @@
name: Build ESP name: Build ESP
on: on:
pull_request:
push: push:
release: paths:
types: - 'src'
- created - 'examples'
- 'lib'
- 'hw'
pull_request:
branches: [ master ]
paths:
- 'src'
- 'examples'
- 'lib'
- 'hw'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -1,11 +1,19 @@
name: Build MSP430 name: Build MSP430
on: on:
pull_request:
push: push:
release: paths:
types: - 'src'
- created - 'examples'
- 'lib'
- 'hw'
pull_request:
branches: [ master ]
paths:
- 'src'
- 'examples'
- 'lib'
- 'hw'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -1,11 +1,19 @@
name: Build Renesas name: Build Renesas
on: on:
pull_request:
push: push:
release: paths:
types: - 'src'
- created - 'examples'
- 'lib'
- 'hw'
pull_request:
branches: [ master ]
paths:
- 'src'
- 'examples'
- 'lib'
- 'hw'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -1,11 +1,19 @@
name: Build RISC-V name: Build RISC-V
on: on:
pull_request:
push: push:
release: paths:
types: - 'src'
- created - 'examples'
- 'lib'
- 'hw'
pull_request:
branches: [ master ]
paths:
- 'src'
- 'examples'
- 'lib'
- 'hw'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -20,7 +20,7 @@ jobs:
- name: Setup Ruby - name: Setup Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: '2.7' ruby-version: '3.0'
- name: Checkout TinyUSB - name: Checkout TinyUSB
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@ -1,10 +1,19 @@
name: Hardware Test name: Hardware Test
on: on:
pull_request:
push: push:
release: paths:
types: - 'src'
- created - 'examples'
- 'lib'
- 'hw'
pull_request:
branches: [ master ]
paths:
- 'src'
- 'examples'
- 'lib'
- 'hw'
# Hardware in the loop (HIL) # Hardware in the loop (HIL)
# Current self-hosted instance is running on an EPYC 7232 server hosted by HiFiPhile user # Current self-hosted instance is running on an EPYC 7232 server hosted by HiFiPhile user