Skip to content

Commit 2e31630

Browse files
committed
github: Run the extra tests with crt-test on arm64ec too
Since the latest update of llvm-mingw, crt-test works for arm64ec with msvcrt.dll. Signed-off-by: Martin Storsjö <[email protected]>
1 parent 8179d15 commit 2e31630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
- name: Run extra tests with crt-test
156156
run: |
157157
export PATH=/llvm-mingw/bin:$PATH
158-
for arch in i686 x86_64 armv7 aarch64; do
158+
for arch in i686 x86_64 armv7 aarch64 arm64ec; do
159159
for crt in msvcrt-ansi msvcrt-noansi ucrt ucrtbase; do
160160
case $crt in
161161
msvcrt*) defs="-D__MSVCRT_VERSION__=0x700"; lib=msvcrt-os ;;
@@ -170,7 +170,7 @@ jobs:
170170
$arch-w64-mingw32-clang $defs -fno-builtin test/crt-test.c -o $name-crt-first.exe -l$lib -O2
171171
echo $name
172172
case $arch in
173-
${{ runner.arch == 'ARM64' && 'aarch64' || '*86*' }}) ./$name-regular.exe ; ./$name-crt-first.exe ;;
173+
${{ runner.arch == 'ARM64' && 'aarch64|arm64ec' || '*86*' }}) ./$name-regular.exe ; ./$name-crt-first.exe ;;
174174
esac
175175
done
176176
done

0 commit comments

Comments
 (0)