CI: BSD needs to symlink bash location

pull/826/head
Brad House 4 months ago
parent c3e4c1a83d
commit 1dea1145f7
  1. 1
      .cirrus.yml
  2. 1
      .github/workflows/netbsd.yml
  3. 1
      .github/workflows/openbsd.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

@ -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

@ -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"

Loading…
Cancel
Save