summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJan Dümpelmann <[email protected]>2020-11-04 17:11:01 +0100
committerJan Dümpelmann <[email protected]>2020-11-04 17:11:01 +0100
commitaf9f0f1cd64283116716d6bcadc9f33214e88c57 (patch)
tree7660ef678cb0cd372eb7c4ac4c5182c5dd779985 /.github
parentb15c209805978dc115fe38c72b3f7c235aed42ec (diff)
parent075334af80303488a8c874255d725cb4ca15a7de (diff)
Merge remote-tracking branch 'hathach/master' into cdc_without_dtr
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md2
-rw-r--r--.github/workflows/build.yml31
2 files changed, 24 insertions, 9 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 5160e9f84..9f956f9d8 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -26,4 +26,4 @@ Steps to reproduce the behavior:
If applicable, add screenshots, bus capture to help explain your problem.
**Log**
-Please provide the stack's log (uart/rtt/swo) where the issue occurred, best with comments to explain the actual events. To enable logging, add `LOG=2` to to the make command if building with stock examples or set `CFG_TUSB_DEBUG=2` in your tusb_config.h. More information can be found at [example's readme](/examples/readme.md)
+Please provide the stack's log (uart/rtt/swo) where the issue occurred, best with comments to explain the actual events. To enable logging, add `LOG=2` to to the make command if building with stock examples or set `CFG_TUSB_DEBUG=2` in your tusb_config.h. More information can be found at [example's readme](/docs/getting_started.md)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2ad274928..e5b8cd6ae 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,7 +9,7 @@ jobs:
steps:
- name: Setup Ruby
uses: actions/setup-ruby@v1
-
+
- name: Checkout TinyUSB
uses: actions/checkout@v2
@@ -26,9 +26,24 @@ jobs:
strategy:
fail-fast: false
matrix:
- example: ['board_test', 'cdc_dual_ports', 'cdc_msc', 'cdc_msc_freertos', 'dfu_rt',
- 'hid_composite', 'hid_composite_freertos', 'hid_generic_inout', 'midi_test', 'msc_dual_lun', 'net_lwip_webserver',
- 'usbtmc', 'webusb_serial']
+ example:
+ - 'device/audio_test'
+ - 'device/board_test'
+ - 'device/cdc_dual_ports'
+ - 'device/cdc_msc'
+ - 'device/cdc_msc_freertos'
+ - 'device/dfu_rt'
+ - 'device/hid_composite'
+ - 'device/hid_composite_freertos'
+ - 'device/hid_generic_inout'
+ - 'device/hid_multiple_interface'
+ - 'device/midi_test'
+ - 'device/msc_dual_lun'
+ - 'device/net_lwip_webserver'
+ - 'device/usbtmc'
+ - 'device/webusb_serial'
+ - 'host/cdc_msc_hid'
+
steps:
- name: Setup Python
uses: actions/setup-python@v1
@@ -52,21 +67,21 @@ jobs:
npm install --global xpm
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest
- echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`"
- echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin`"
+ echo `echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin` >> $GITHUB_PATH
+ echo `echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin` >> $GITHUB_PATH
# TI MSP430 GCC
mkdir -p /tmp/dl/
[ -f "/tmp/dl/msp430-gcc.tar.bz2" ] || wget --progress=dot:mega $MSP430GCC_URL -O /tmp/dl/msp430-gcc.tar.bz2
tar -C $HOME -xaf /tmp/dl/msp430-gcc.tar.bz2
- echo "::add-path::`echo $HOME/msp430-gcc-*_linux64/bin`"
+ echo `echo $HOME/msp430-gcc-*_linux64/bin` >> $GITHUB_PATH
- name: Checkout TinyUSB
uses: actions/checkout@v2
with:
# Cannot do submodule checkout here since LWIP's git server cannot checkout unadventised commits (it must use tags)
submodules: 'false'
-
+
- name: Checkout Submodules
run: |
git submodule sync --recursive