Skip to content

Commit 97daedf

Browse files
ci: test kernel fix
Signed-off-by: viktor-kurchenko <[email protected]>
1 parent d9b0d25 commit 97daedf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,15 @@ jobs:
121121
ssh_port=$(python3 -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.getsockname()[1]); s.close()')
122122
echo metal_arm64=true >> $GITHUB_OUTPUT
123123
echo lvh_install_deps=false >> $GITHUB_OUTPUT
124+
echo kernel=${{ matrix.kernel }}-arm64 >> $GITHUB_OUTPUT
125+
echo lvh_kernel="/home/runners/vmlinuz-${{ matrix.kernel }}" >> $GITHUB_OUTPUT
124126
echo ssh_port=$ssh_port >> $GITHUB_OUTPUT
125127
echo shared_folder="/home/runners" >> $GITHUB_OUTPUT
126128
else
127129
echo metal_arm64=false >> $GITHUB_OUTPUT
128130
echo lvh_install_deps=true >> $GITHUB_OUTPUT
131+
echo kernel=${{ matrix.kernel }} >> $GITHUB_OUTPUT
132+
echo lvh_kernel="" >> $GITHUB_OUTPUT
129133
echo ssh_port=2222 >> $GITHUB_OUTPUT
130134
echo shared_folder="" >> $GITHUB_OUTPUT
131135
fi
@@ -191,7 +195,8 @@ jobs:
191195
mem: 4G
192196
cpu: 2
193197
test-name: pwru-test
194-
image-version: ${{ matrix.kernel }}
198+
image-version: ${{ steps.vars.outputs.kernel }}
199+
kernel: '${{ steps.vars.outputs.lvh_kernel }}'
195200
host-mount: ./
196201
cmd: |
197202
chmod +x /host/pwru/pwru

0 commit comments

Comments
 (0)