Skip to content

Commit 8f3db35

Browse files
committed
Cygwin: disable tests
Signed-off-by: Stephan Mueller <smueller@chronox.de>
1 parent 2105a7a commit 8f3db35

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/scripts/vm-build-and-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ for shared in shared static both; do
5151
echo "==> Meson build (BUILD_SHARED_LIBS=$shared)"
5252

5353
rm -rf "$build"
54-
meson setup $build -Ddefault_library=$shared -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled
54+
meson setup $build -Ddefault_library=$shared -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled $@
5555
meson compile -C $build
5656

5757
meson test -v -C $build --suite regression

.github/workflows/userspace-test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -355,12 +355,10 @@ jobs:
355355
binutils
356356
meson
357357
358-
# The workflow-level "shell: bash" default resolves to Cygwin's bash here
359-
# rather than the runner's Git bash: the action prepends Cygwin's bin to
360-
# PATH, and GitHub looks the interpreter up there. That is what makes the
361-
# POSIX script below run against the Cygwin toolchain at all.
358+
# Disable tests as Cygwin runner causes the error "Invalid relocation."
359+
# for half of the test cases.
362360
- name: Build and test
363-
run: sh .github/scripts/vm-build-and-test.sh
361+
run: sh .github/scripts/vm-build-and-test.sh -Dtests=disabled
364362

365363
# MSVC is the reference Windows toolchain.
366364
# MSVC currently disabled as I am not sure how to install Meson

0 commit comments

Comments
 (0)