mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-16 06:40:11 +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:
|
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`
|
echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`"
|
||||||
arm-none-eabi-gcc --version
|
echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin`"
|
||||||
riscv-none-embed-gcc --version
|
|
||||||
|
|
||||||
- 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: |
|
run: python3 tools/build_all.py ${{ matrix.example }}
|
||||||
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 }}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user