mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-15 03:40:19 +00:00
more ci (#253)
* more ci * ci * ci * ci * ci test * more ci test * more ci * ci typo * test ci * ci use github ::add-path::
This commit is contained in:
parent
01fb25ab95
commit
8e04eafb8a
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -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/setup-node@v1.1.0
|
||||
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user