mirror of
https://github.com/hathach/tinyusb.git
synced 2025-10-14 01:58:41 +08:00
use cache to store skip board in hil ci
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -199,23 +199,28 @@ jobs:
|
|||||||
runs-on: [self-hosted, X64, hathach, hardware-in-the-loop]
|
runs-on: [self-hosted, X64, hathach, hardware-in-the-loop]
|
||||||
steps:
|
steps:
|
||||||
- name: Clean workspace
|
- name: Clean workspace
|
||||||
if: github.run_attempt == '1'
|
|
||||||
run: |
|
run: |
|
||||||
echo "Cleaning up for the first run"
|
echo "Cleaning up for the first run"
|
||||||
rm -rf "${{ github.workspace }}"
|
rm -rf "${{ github.workspace }}"
|
||||||
mkdir -p "${{ github.workspace }}"
|
mkdir -p "${{ github.workspace }}"
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
if: github.run_attempt == '1'
|
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
if: github.run_attempt == '1'
|
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: cmake-build
|
path: cmake-build
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
|
- name: Cache skip list
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ${{ env.HIL_JSON }}.skip
|
||||||
|
key: hil-skip-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
|
restore-keys: |
|
||||||
|
hil-skip-${{ github.run_id }}-
|
||||||
|
|
||||||
- name: Test on actual hardware
|
- name: Test on actual hardware
|
||||||
run: |
|
run: |
|
||||||
ls cmake-build/
|
ls cmake-build/
|
||||||
|
@@ -583,7 +583,7 @@ device_tests = [
|
|||||||
'device/dfu_runtime',
|
'device/dfu_runtime',
|
||||||
'device/cdc_msc_freertos',
|
'device/cdc_msc_freertos',
|
||||||
'device/hid_boot_interface',
|
'device/hid_boot_interface',
|
||||||
# 'device/mtp'
|
'device/mtp'
|
||||||
]
|
]
|
||||||
|
|
||||||
dual_tests = [
|
dual_tests = [
|
||||||
|
Reference in New Issue
Block a user