update ci
- remove submodules init - pre-commit: forbid new submodule, run in ci
This commit is contained in:
3
.github/workflows/build_aarch64.yml
vendored
3
.github/workflows/build_aarch64.yml
vendored
@@ -42,9 +42,6 @@ jobs:
|
|||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout common submodules in lib
|
|
||||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
- name: Checkout hathach/linkermap
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
6
.github/workflows/build_arm.yml
vendored
6
.github/workflows/build_arm.yml
vendored
@@ -65,9 +65,6 @@ jobs:
|
|||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout common submodules in lib
|
|
||||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
- name: Checkout hathach/linkermap
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -145,9 +142,6 @@ jobs:
|
|||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout common submodules in lib
|
|
||||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_board.py ${{ matrix.example }}
|
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
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout submodules and dependencies
|
- name: Get Dependencies
|
||||||
run: |
|
run: python3 tools/get_family_deps.py ${{ matrix.family }}
|
||||||
git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
|
||||||
python3 tools/get_family_deps.py ${{ matrix.family }}
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_family.py ${{ matrix.family }} CC=iccarm
|
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
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout common submodules in lib
|
|
||||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
- name: Checkout hathach/linkermap
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
3
.github/workflows/build_renesas.yml
vendored
3
.github/workflows/build_renesas.yml
vendored
@@ -39,9 +39,6 @@ jobs:
|
|||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout common submodules in lib
|
|
||||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
- name: Checkout hathach/linkermap
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
3
.github/workflows/build_riscv.yml
vendored
3
.github/workflows/build_riscv.yml
vendored
@@ -41,9 +41,6 @@ jobs:
|
|||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout common submodules in lib
|
|
||||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
- name: Checkout hathach/linkermap
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
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
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout common submodules in lib
|
|
||||||
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
|
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: python3 tools/get_family_deps.py stm32f4
|
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
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Run pre-commit
|
||||||
|
uses: pre-commit/action@v3.0.0
|
||||||
|
|
||||||
- name: Run codespell
|
- name: Run codespell
|
||||||
uses: codespell-project/actions-codespell@master
|
uses: codespell-project/actions-codespell@master
|
||||||
|
|
||||||
|
@@ -4,11 +4,12 @@
|
|||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.0.1
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
- id: forbid-submodules
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
Reference in New Issue
Block a user