Skip to content

Commit

Permalink
Force usage of bash
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom committed Feb 11, 2025
1 parent ab4e93f commit 9da4211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
if: runner.os == 'Linux' || runner.os == 'macOs'
run: |
./test/compilation-tests.sh
shell: bash

version-consistency-check:
if: github.event.action == 'published' || github.ref != 'refs/heads/main'
Expand Down
4 changes: 2 additions & 2 deletions test/compilation-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ INSTALL_PATH=$(realpath ~/SI-install)

buildSingleTarget()
{
set -x
if [ "${2}" == "DEFAULTBUILD" ]; then
cmake ${ROOT_DIR}/test/src/compilation_tests/ -B${BUILD_DIR} -DCMAKE_PREFIX_PATH=${BUILD_DIR} -DCMAKE_INSTALL_PREFIX:PATH=${INSTALL_PATH} -DCMAKE_BUILD_TYPE=Release -G Ninja > /dev/null
assertEquals "Configuration for defaultbuild successful" 0 $? ${3}
Expand All @@ -25,11 +24,12 @@ buildSingleTarget()
else
assertNotEquals "Building fails" 0 $RESULT
fi
set +x

}

oneTimeSetUp(){

echo "Setting up and installing SI"
BUILD_DIR=$(mktemp -d)
conan install . --output-folder=${BUILD_DIR} --build=missing --settings=build_type=Release 2>&1> /dev/null

Expand Down

0 comments on commit 9da4211

Please sign in to comment.