Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vacabun committed Dec 15, 2023
1 parent 6b2bd20 commit 5559a2e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,45 @@ jobs:
cd app
git submodule update --init --recursive
cd ..
- name: Build tag
- name: Build tag(dw1000)
run: |
cd app
make clean
make dw1000
make tag
cd ..
- name: Build anchor
- name: Build anchor(dw1000)
run: |
cd app
make clean
make dw1000
make anchor
cd ..
- name: Build node(dw1000)
run: |
cd app
make clean
make dw1000
make node
cd ..
- name: Build tag(dw3000)
run: |
cd app
make clean
make dw3000
make tag
cd ..
- name: Build anchor(dw3000)
run: |
cd app
make clean
make dw3000
make anchor
cd ..
- name: Build node(dw3000)
run: |
cd app
make clean
make dw3000
make node
cd ..
4 changes: 1 addition & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ dw3000:
cp boards/stm32f401_mini_dw3000.overlay boards/stm32f401_mini.overlay
tag:
west build -- -DTAG_DEF=ON -DANCHOR_DEF=OFF -DNODE_DEF=OFF
west flash -r openocd --config boards/stlink.cfg
anchor:
west build -- -DTAG_DEF=OFF -DANCHOR_DEF=ON -DNODE_DEF=OFF
west flash -r openocd --config boards/daplink.cfg
node:
west build -- -DTAG_DEF=OFF -DANCHOR_DEF=OFF -DNODE_DEF=ON
all:
test:
west build -- -DTAG_DEF=ON -DANCHOR_DEF=OFF
west flash -r openocd --config boards/stlink.cfg
west build -- -DTAG_DEF=OFF -DANCHOR_DEF=ON
Expand Down

0 comments on commit 5559a2e

Please sign in to comment.