mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
update ci
- remove submodules init - pre-commit: forbid new submodule, run in ci
This commit is contained in:
parent
323a56e309
commit
2faad42cb1
3
.github/workflows/build_aarch64.yml
vendored
3
.github/workflows/build_aarch64.yml
vendored
@ -42,9 +42,6 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout common submodules in lib
|
||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
||||
|
||||
- name: Checkout hathach/linkermap
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
6
.github/workflows/build_arm.yml
vendored
6
.github/workflows/build_arm.yml
vendored
@ -65,9 +65,6 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout common submodules in lib
|
||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
||||
|
||||
- name: Checkout hathach/linkermap
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
@ -145,9 +142,6 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout common submodules in lib
|
||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
||||
|
||||
- name: Build
|
||||
run: python3 tools/build_board.py ${{ matrix.example }}
|
||||
|
||||
|
6
.github/workflows/build_iar.yml
vendored
6
.github/workflows/build_iar.yml
vendored
@ -42,10 +42,8 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout submodules and dependencies
|
||||
run: |
|
||||
git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
||||
python3 tools/get_family_deps.py ${{ matrix.family }}
|
||||
- name: Get Dependencies
|
||||
run: python3 tools/get_family_deps.py ${{ matrix.family }}
|
||||
|
||||
- name: Build
|
||||
run: python3 tools/build_family.py ${{ matrix.family }} CC=iccarm
|
||||
|
3
.github/workflows/build_msp430.yml
vendored
3
.github/workflows/build_msp430.yml
vendored
@ -40,9 +40,6 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout common submodules in lib
|
||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
||||
|
||||
- name: Checkout hathach/linkermap
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
3
.github/workflows/build_renesas.yml
vendored
3
.github/workflows/build_renesas.yml
vendored
@ -39,9 +39,6 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout common submodules in lib
|
||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
||||
|
||||
- name: Checkout hathach/linkermap
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
3
.github/workflows/build_riscv.yml
vendored
3
.github/workflows/build_riscv.yml
vendored
@ -41,9 +41,6 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout common submodules in lib
|
||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
||||
|
||||
- name: Checkout hathach/linkermap
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
3
.github/workflows/build_win_mac.yml
vendored
3
.github/workflows/build_win_mac.yml
vendored
@ -46,9 +46,6 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout common submodules in lib
|
||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
||||
|
||||
- name: Get Dependencies
|
||||
run: python3 tools/get_family_deps.py stm32f4
|
||||
|
||||
|
3
.github/workflows/pre-commit.yml
vendored
3
.github/workflows/pre-commit.yml
vendored
@ -26,6 +26,9 @@ jobs:
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run pre-commit
|
||||
uses: pre-commit/action@v3.0.0
|
||||
|
||||
- name: Run codespell
|
||||
uses: codespell-project/actions-codespell@master
|
||||
|
||||
|
@ -4,11 +4,12 @@
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.0.1
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: forbid-submodules
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user