From 1dea1145f720836ce2aaef76101ecac5b6c4ed33 Mon Sep 17 00:00:00 2001 From: Brad House Date: Tue, 23 Jul 2024 14:14:26 -0400 Subject: [PATCH] CI: BSD needs to symlink bash location --- .cirrus.yml | 1 + .github/workflows/netbsd.yml | 1 + .github/workflows/openbsd.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index ea38432d..9ba05122 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -182,6 +182,7 @@ task: FREEBSD) # pkg upgrade -y && \ pkg install -y bash cmake ninja googletest pkgconf llvm gmake + ln -sf /usr/local/bin/bash /bin/bash case "${BUILD_TYPE}" in autotools) pkg install -y autoconf automake libtool diff --git a/.github/workflows/netbsd.yml b/.github/workflows/netbsd.yml index 5e6c2f58..0739605c 100644 --- a/.github/workflows/netbsd.yml +++ b/.github/workflows/netbsd.yml @@ -33,6 +33,7 @@ jobs: echo "CMAKE_TEST_FLAGS: $CMAKE_TEST_FLAGS" echo "PKG_PATH: $PKG_PATH" sudo -E /usr/pkg/sbin/pkg_add -u bash cmake googletest pkgconf ninja-build gdb + sudo ln -sf /usr/pkg/bin/bash /bin/bash ./ci/build.sh ./ci/test.sh diff --git a/.github/workflows/openbsd.yml b/.github/workflows/openbsd.yml index a3b65091..d5c9b899 100644 --- a/.github/workflows/openbsd.yml +++ b/.github/workflows/openbsd.yml @@ -26,6 +26,7 @@ jobs: environment_variables: DIST BUILD_TYPE CMAKE_FLAGS CMAKE_TEST_FLAGS TEST_DEBUGGER run: | sudo pkg_add bash cmake gtest pkgconf ninja gdb lldb + sudo ln -sf /usr/local/bin/bash /bin/bash echo "BUILD_TYPE: $BUILD_TYPE" echo "CMAKE_FLAGS: $CMAKE_FLAGS" echo "CMAKE_TEST_FLAGS: $CMAKE_TEST_FLAGS"