summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-01 22:55:44 +0700
committerhathach <[email protected]>2020-04-01 22:55:44 +0700
commitec578fa8cb9d3053abc274829616cb30521b1695 (patch)
tree3ab1da9c269d8088f3fb4a93793f16c701112862 /.github/workflows
parentf8422b5a48fc812edf41413827d31ebcc956fb53 (diff)
try adding esp32 to ci
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/esp32s2.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/esp32s2.yml b/.github/workflows/esp32s2.yml
new file mode 100644
index 000000000..0b70c44b6
--- /dev/null
+++ b/.github/workflows/esp32s2.yml
@@ -0,0 +1,34 @@
+name: Build
+
+on: [pull_request, push, repository_dispatch]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ example: ['cdc_msc_freertos']
+
+ steps:
+ - name: Setup Python
+ uses: actions/setup-python@v1
+
+ - name: Install Toolchains
+ run: |
+ git clone https://github.com/espressif/esp-idf.git $HOME/esp-idf
+ cd $HOME/esp-idf
+ ./install.sh
+ #echo "::add-path::`echo $HOME/msp430-gcc-*_linux64/bin`"
+
+ - name: Checkout TinyUSB
+ uses: actions/checkout@v2
+
+ - name: Checkout Submodules
+ run: |
+ git submodule sync --recursive
+ git submodule update --init --recursive
+
+# - name: Build
+# run: python3 tools/build_all.py ${{ matrix.example }}
+