|
@@ -28,8 +28,6 @@ jobs:
|
|
|
steps:
|
|
steps:
|
|
|
- name: Setup Python
|
|
- name: Setup Python
|
|
|
uses: actions/setup-python@v1
|
|
uses: actions/setup-python@v1
|
|
|
- with:
|
|
|
|
|
- python-version: 3.5
|
|
|
|
|
|
|
|
|
|
- name: Setup Node.js
|
|
- name: Setup Node.js
|
|
|
uses: actions/setup-node@v1.1.0
|
|
uses: actions/setup-node@v1.1.0
|
|
@@ -39,10 +37,9 @@ jobs:
|
|
|
npm install --global xpm
|
|
npm install --global xpm
|
|
|
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
|
|
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
|
|
|
xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest
|
|
xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest
|
|
|
- export PATH=$PATH:`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`:`echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin`
|
|
|
|
|
- arm-none-eabi-gcc --version
|
|
|
|
|
- riscv-none-embed-gcc --version
|
|
|
|
|
-
|
|
|
|
|
|
|
+ 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`"
|
|
|
|
|
+
|
|
|
- name: Checkout TinyUSB
|
|
- name: Checkout TinyUSB
|
|
|
uses: actions/checkout@v2
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
@@ -54,6 +51,4 @@ jobs:
|
|
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive
|
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive
|
|
|
|
|
|
|
|
- name: Build
|
|
- name: Build
|
|
|
- run: |
|
|
|
|
|
- export PATH=$PATH:`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`:`echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin`
|
|
|
|
|
- python3 tools/build_all.py ${{ matrix.example }}
|
|
|
|
|
|
|
+ run: python3 tools/build_all.py ${{ matrix.example }}
|