summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2019-12-28 16:24:32 +0700
committerGitHub <[email protected]>2019-12-28 16:24:32 +0700
commit8e04eafb8a71ac214cfcb8b5a19c2b9aa00c492b (patch)
treef13bb31014e81b758b623117ddfc6e01740360f4 /.github
parent01fb25ab95730317711e6da56fa5e55f4e2529e4 (diff)
more ci (#253)
* more ci * ci * ci * ci * ci test * more ci test * more ci * ci typo * test ci * ci use github ::add-path::
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 82e9d5735..6e71351a9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,8 +28,6 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v1
- with:
- python-version: 3.5
- name: Setup Node.js
uses: actions/[email protected]
@@ -39,10 +37,9 @@ 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
- 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
uses: actions/checkout@v2
@@ -54,6 +51,4 @@ jobs:
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive
- 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 }}