Skip to content

Commit

Permalink
Link diagram.json for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
lptr committed Dec 9, 2024
1 parent 3adf362 commit d5c190f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ jobs:
ud_gen: MK4
ud_debug: 0
target: esp32s2
wokwi: 0
- environment: mk5-release
ud_gen: MK5
ud_debug: 0
target: esp32s3
wokwi: 0
- environment: mk6-release
ud_gen: MK6
ud_debug: 0
target: esp32s3
wokwi: 0
- environment: mk6-wokwi
ud_gen: MK6
ud_debug: 0
Expand All @@ -32,10 +35,12 @@ jobs:
ud_gen: MK7
ud_debug: 0
target: esp32s3
wokwi: 0
- environment: mk7-debug
ud_gen: MK7
ud_debug: 1
target: esp32s3
wokwi: 0

steps:
- uses: actions/checkout@v4
Expand All @@ -50,6 +55,9 @@ jobs:
target: ${{ matrix.target }}
command: idf.py build -DUD_GEN=${{ matrix.ud_gen }} -DUD_DEBUG=${{ matrix.ud_debug }} -DWOKWI=${{ matrix.wokwi }}

- if: matrix.wokwi == 1
run: ln -s diagram.flow-control-mk6.json wokwi/diagram.json

- name: Test with Wokwi
uses: wokwi/wokwi-ci-action@v1
if: matrix.wokwi == 1
Expand Down
1 change: 1 addition & 0 deletions wokwi/diagram.json

0 comments on commit d5c190f

Please sign in to comment.