@@ -105,7 +105,9 @@ jobs:
105105 du --max-depth=3 -h ./target | sort -h
106106
107107 - name : Test
108- run : just test ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
108+ run : |
109+ cargo clean -p hyperlight-wasm
110+ just test ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
109111 working-directory : ./src/hyperlight_wasm
110112
111113 - name : Install github-cli (Windows)
@@ -131,14 +133,18 @@ jobs:
131133 run : sudo apt install gh -y
132134
133135 - name : Test Examples
134- run : just examples-ci ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
136+ run : |
137+ cargo clean -p hyperlight-wasm
138+ just examples-ci ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
135139 working-directory : ./src/hyperlight_wasm
136140 env :
137141 # required for gh cli when downloading
138142 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
139143
140144 - name : Test Component Model Examples
141- run : just examples-components ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
145+ run : |
146+ cargo clean -p hyperlight-wasm
147+ just examples-components ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
142148 working-directory : ./src/hyperlight_wasm
143149
144150 # ## Benchmarks ###
@@ -154,6 +160,7 @@ jobs:
154160
155161 - name : Run benchmarks
156162 run : |
163+ cargo clean -p hyperlight-wasm
157164 just bench-ci dev ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
158165 working-directory : ./src/hyperlight_wasm
159166 if : ${{ matrix.config == 'release' }}
0 commit comments