@@ -150,7 +150,7 @@ runs:
150150 check_namespace : ${{ inputs.check_namespace }}
151151 stack : ${{ inputs.stack }}
152152 extra_args : ${{ inputs.extra_args }}
153- - name : Cross riscv64 Tests
153+ - name : Cross riscv64 Tests (RVV, VLEN=128)
154154 if : ${{ (inputs.compile_mode == 'all' || inputs.compile_mode == 'cross-riscv64') && (success() || failure()) }}
155155 uses : ./.github/actions/functest
156156 with :
@@ -161,7 +161,67 @@ runs:
161161 custom_shell : ${{ inputs.custom_shell }}
162162 cflags : " ${{ inputs.cflags }} -DMLK_FORCE_RISCV64"
163163 cross_prefix : riscv64-unknown-linux-gnu-
164- exec_wrapper : qemu-riscv64
164+ exec_wrapper : " qemu-riscv64 -cpu rv64,v=true,vlen=128"
165+ opt : ${{ inputs.opt }}
166+ func : ${{ inputs.func }}
167+ kat : ${{ inputs.kat }}
168+ acvp : ${{ inputs.acvp }}
169+ examples : ${{ inputs.examples }}
170+ check_namespace : ${{ inputs.check_namespace }}
171+ stack : ${{ inputs.stack }}
172+ extra_args : ${{ inputs.extra_args }}
173+ - name : Cross riscv64 Tests (RVV, VLEN=256)
174+ if : ${{ (inputs.compile_mode == 'all' || inputs.compile_mode == 'cross-riscv64') && (success() || failure()) }}
175+ uses : ./.github/actions/functest
176+ with :
177+ nix-shell : ${{ inputs.nix-shell }}
178+ nix-cache : ${{ inputs.nix-cache }}
179+ nix-verbose : ${{ inputs.nix-verbose }}
180+ gh_token : ${{ inputs.gh_token }}
181+ custom_shell : ${{ inputs.custom_shell }}
182+ cflags : " ${{ inputs.cflags }} -DMLK_FORCE_RISCV64"
183+ cross_prefix : riscv64-unknown-linux-gnu-
184+ exec_wrapper : " qemu-riscv64 -cpu rv64,v=true,vlen=256"
185+ opt : ${{ inputs.opt }}
186+ func : ${{ inputs.func }}
187+ kat : ${{ inputs.kat }}
188+ acvp : ${{ inputs.acvp }}
189+ examples : ${{ inputs.examples }}
190+ check_namespace : ${{ inputs.check_namespace }}
191+ stack : ${{ inputs.stack }}
192+ extra_args : ${{ inputs.extra_args }}
193+ - name : Cross riscv64 Tests (RVV, VLEN=512)
194+ if : ${{ (inputs.compile_mode == 'all' || inputs.compile_mode == 'cross-riscv64') && (success() || failure()) }}
195+ uses : ./.github/actions/functest
196+ with :
197+ nix-shell : ${{ inputs.nix-shell }}
198+ nix-cache : ${{ inputs.nix-cache }}
199+ nix-verbose : ${{ inputs.nix-verbose }}
200+ gh_token : ${{ inputs.gh_token }}
201+ custom_shell : ${{ inputs.custom_shell }}
202+ cflags : " ${{ inputs.cflags }} -DMLK_FORCE_RISCV64"
203+ cross_prefix : riscv64-unknown-linux-gnu-
204+ exec_wrapper : " qemu-riscv64 -cpu rv64,v=true,vlen=512"
205+ opt : ${{ inputs.opt }}
206+ func : ${{ inputs.func }}
207+ kat : ${{ inputs.kat }}
208+ acvp : ${{ inputs.acvp }}
209+ examples : ${{ inputs.examples }}
210+ check_namespace : ${{ inputs.check_namespace }}
211+ stack : ${{ inputs.stack }}
212+ extra_args : ${{ inputs.extra_args }}
213+ - name : Cross riscv64 Tests (RVV, VLEN=1024)
214+ if : ${{ (inputs.compile_mode == 'all' || inputs.compile_mode == 'cross-riscv64') && (success() || failure()) }}
215+ uses : ./.github/actions/functest
216+ with :
217+ nix-shell : ${{ inputs.nix-shell }}
218+ nix-cache : ${{ inputs.nix-cache }}
219+ nix-verbose : ${{ inputs.nix-verbose }}
220+ gh_token : ${{ inputs.gh_token }}
221+ custom_shell : ${{ inputs.custom_shell }}
222+ cflags : " ${{ inputs.cflags }} -DMLK_FORCE_RISCV64"
223+ cross_prefix : riscv64-unknown-linux-gnu-
224+ exec_wrapper : " qemu-riscv64 -cpu rv64,v=true,vlen=1024"
165225 opt : ${{ inputs.opt }}
166226 func : ${{ inputs.func }}
167227 kat : ${{ inputs.kat }}
0 commit comments