summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2026-12-05 17:25:27 +0800
committersakumisu <[email protected]>2026-12-05 21:51:10 +0800
commitc22ccc4649e5f7b1f556fa8b656ab2840732cf92 (patch)
tree096923e0001c9772edd49f87cf0b897496b8b9f3 /.github/workflows
parenta3e6e5f6cd5ba87f2b5b7858d441c93594de07a0 (diff)
refactor: change urb ep type from struct usb_endpoint_descriptor to struct usbh_endpoint
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_tests.yml19
1 files changed, 5 insertions, 14 deletions
diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml
index 7fa1edb3..8e534515 100644
--- a/.github/workflows/build_tests.yml
+++ b/.github/workflows/build_tests.yml
@@ -193,25 +193,16 @@ jobs:
git checkout 1e6f4ca501d9cd92a99204193939e45df6b8502d
./install.py
+ - name: Patch Phytium USB host examples
+ run: git -C ~/phytium-free-rtos-sdk apply "${{ github.workspace }}/.github/patches/phytium-usb-host-endpoint.patch"
+
- name: Download toolchain
run: |
cd ~
git clone https://github.com/CherryUSB/phytium_env_ubuntu_x64
- - name: Patch setup_dev.py
- run: |
- python3 <<'PY'
- import pathlib
- p = pathlib.Path('/home/runner/phytium_env_ubuntu_x64/setup_dev.py')
- text = p.read_text()
- text = text.replace('platform.processor()', 'platform.machine()')
- text = text.replace(
- "re.search('MSYS_NT', platform.system()).span() == (0, len('MSYS_NT'))",
- "platform.system().startswith('MSYS_NT')"
- )
- text = text.replace('"sed -i ', 'r"sed -i ')
- p.write_text(text)
- PY
+ - name: Patch Phytium toolchain setup
+ run: git -C ~/phytium_env_ubuntu_x64 apply "${{ github.workspace }}/.github/patches/phytium-toolchain-setup-dev.patch"
- name: Build phytium demo
run: |