summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-12-08 09:44:26 +0700
committerhathach <[email protected]>2022-12-08 09:44:26 +0700
commit91d5fa5639a2330793b8e8828c4077911cdd2acd (patch)
tree865f10cfc27cadf2bec3e7329a8cbb14fc50f747 /.github/workflows
parenta3827b87fe6504bdb5acde3d09a49044498467ef (diff)
add paths to all workflows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_aarch64.yml16
-rw-r--r--.github/workflows/build_arm.yml5
-rw-r--r--.github/workflows/build_esp.yml16
-rw-r--r--.github/workflows/build_msp430.yml16
-rw-r--r--.github/workflows/build_renesas.yml16
-rw-r--r--.github/workflows/build_riscv.yml16
-rw-r--r--.github/workflows/pre-commit.yml2
-rw-r--r--.github/workflows/test_hardware.yml17
8 files changed, 79 insertions, 25 deletions
diff --git a/.github/workflows/build_aarch64.yml b/.github/workflows/build_aarch64.yml
index 49973fe41..ccfca6316 100644
--- a/.github/workflows/build_aarch64.yml
+++ b/.github/workflows/build_aarch64.yml
@@ -1,11 +1,19 @@
name: Build AArch64
on:
- pull_request:
push:
- release:
- types:
- - created
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
+ pull_request:
+ branches: [ master ]
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml
index 56ba88669..d1b94c47b 100644
--- a/.github/workflows/build_arm.yml
+++ b/.github/workflows/build_arm.yml
@@ -9,6 +9,11 @@ on:
- 'hw'
pull_request:
branches: [ master ]
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/build_esp.yml b/.github/workflows/build_esp.yml
index d775e50b6..7f2c292fa 100644
--- a/.github/workflows/build_esp.yml
+++ b/.github/workflows/build_esp.yml
@@ -1,11 +1,19 @@
name: Build ESP
on:
- pull_request:
push:
- release:
- types:
- - created
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
+ pull_request:
+ branches: [ master ]
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/build_msp430.yml b/.github/workflows/build_msp430.yml
index d28341e5b..f41344e30 100644
--- a/.github/workflows/build_msp430.yml
+++ b/.github/workflows/build_msp430.yml
@@ -1,11 +1,19 @@
name: Build MSP430
on:
- pull_request:
push:
- release:
- types:
- - created
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
+ pull_request:
+ branches: [ master ]
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/build_renesas.yml b/.github/workflows/build_renesas.yml
index 6cb873dd8..d6550ed6d 100644
--- a/.github/workflows/build_renesas.yml
+++ b/.github/workflows/build_renesas.yml
@@ -1,11 +1,19 @@
name: Build Renesas
on:
- pull_request:
push:
- release:
- types:
- - created
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
+ pull_request:
+ branches: [ master ]
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/build_riscv.yml b/.github/workflows/build_riscv.yml
index 18e952d92..257050a53 100644
--- a/.github/workflows/build_riscv.yml
+++ b/.github/workflows/build_riscv.yml
@@ -1,11 +1,19 @@
name: Build RISC-V
on:
- pull_request:
push:
- release:
- types:
- - created
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
+ pull_request:
+ branches: [ master ]
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 2463903f8..c0261ec66 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -20,7 +20,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.7'
+ ruby-version: '3.0'
- name: Checkout TinyUSB
uses: actions/checkout@v3
diff --git a/.github/workflows/test_hardware.yml b/.github/workflows/test_hardware.yml
index 3ef1fdc56..622b079da 100644
--- a/.github/workflows/test_hardware.yml
+++ b/.github/workflows/test_hardware.yml
@@ -1,10 +1,19 @@
name: Hardware Test
+
on:
- pull_request:
push:
- release:
- types:
- - created
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
+ pull_request:
+ branches: [ master ]
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
# Hardware in the loop (HIL)
# Current self-hosted instance is running on an EPYC 7232 server hosted by HiFiPhile user