@@ -58,71 +58,84 @@ jobs:
5858 cross build --release --target aarch64-unknown-linux-gnu
5959 working-directory : xtask
6060
61- - uses : actions/upload-artifact@v4
61+ - name : Upload espflash-armv7
62+ uses : actions/upload-artifact@v4
6263 with :
6364 name : espflash-armv7
6465 path : target/armv7-unknown-linux-gnueabihf/release/espflash
6566 if-no-files-found : error
6667
67- - uses : actions/upload-artifact@v4
68+ - name : Upload espflash-aarch64
69+ uses : actions/upload-artifact@v4
6870 with :
6971 name : espflash-aarch64
7072 path : target/aarch64-unknown-linux-gnu/release/espflash
7173 if-no-files-found : error
72- - uses : actions/upload-artifact@v4
74+ - name : Upload xtask-armv7
75+ uses : actions/upload-artifact@v4
7376 with :
7477 name : xtask-armv7
7578 path : target/armv7-unknown-linux-gnueabihf/release/xtask
7679 if-no-files-found : error
7780
78- - uses : actions/upload-artifact@v4
81+ - name : Upload xtask-aarch64
82+ uses : actions/upload-artifact@v4
7983 with :
8084 name : xtask-aarch64
8185 path : target/aarch64-unknown-linux-gnu/release/xtask
8286 if-no-files-found : error
8387 run-packages :
8488 if : github.repository_owner == 'esp-rs'
85- name : ${{ matrix.target.soc }} esp-hal
89+ name : HIL | ${{ matrix.target.soc }}
8690 needs : build-packages
8791 runs-on : [self-hosted, "${{ matrix.target.runner }}"]
92+ env :
93+ ESPFLASH_PORT : ${{ matrix.target.port }}
8894
8995 strategy :
9096 fail-fast : false
9197 matrix :
9298 target :
93- # - soc: esp32c2
94- # runner: esp32c2-jtag
95- # host: aarch64
96- # - soc: esp32c3
97- # runner: esp32c3-usb
98- # host: armv7
99+ - soc : esp32c2
100+ runner : esp32c2-jtag
101+ port : /dev/ttyUSB2
102+ host : aarch64
103+ - soc : esp32c3
104+ runner : esp32c3-usb
105+ port : /dev/ttyACM0
106+ host : armv7
99107 - soc : esp32c6
100108 runner : esp32c6-usb
109+ port : /dev/ttyACM0
101110 host : armv7
102- # - soc: esp32h2
103- # runner: esp32h2-usb
104- # host: armv7
105- # - soc: esp32
106- # runner: esp32-jtag
107- # host: aarch64
108- - soc : esp32s2
109- runner : esp32s2-jtag
111+ - soc : esp32h2
112+ runner : esp32h2-usb
113+ port : /dev/ttyUSB0
110114 host : armv7
111- # - soc: esp32s3
112- # runner: esp32s3-usb
115+ - soc : esp32
116+ runner : esp32-jtag
117+ port : /dev/ttyUSB2
118+ host : aarch64
119+ # - soc: esp32s2
120+ # runner: esp32s2-jtag
121+ # port: /dev/ttyUSB0
113122 # host: armv7
123+ - soc : esp32s3
124+ runner : esp32s3-usb
125+ port : /dev/ttyUSB0
126+ host : armv7
114127
115128 steps :
116129 - uses : actions/checkout@v6
117130
118131 - uses : actions/download-artifact@v7
119132 with :
120- name : espflash-armv7
133+ name : espflash-${{ matrix.target.host }}
121134 path : espflash_app
122135
123136 - uses : actions/download-artifact@v7
124137 with :
125- name : xtask-armv7
138+ name : xtask-${{ matrix.target.host }}
126139 path : xtask_app
127140
128141 - name : Set up espflash binary
@@ -132,8 +145,5 @@ jobs:
132145 echo "$PWD/espflash_app" >> "$GITHUB_PATH"
133146 echo "$PWD/xtask_app" >> "$GITHUB_PATH"
134147
135- - name : Check connections
136- run : lsusb
137-
138148 - name : Run all tests
139149 run : xtask_app/xtask run-tests --chip ${{ matrix.target.soc }} -t 60 --no-build
0 commit comments