Skip to content

Commit

Permalink
github: freebsd: Symlink bash to /bin/bash
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed Mar 11, 2024
1 parent 1d83bf1 commit 17ec809
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
sync: rsync
prepare: pkg install -y binutils cmake elfutils python bash git python2
run: |
sudo ln -s /usr/local/bin/bash /bin/bash
chmod u+x .github/workflows/freebsd-build.sh .github/workflows/ci-run-tests.sh
.github/workflows/freebsd-build.sh x86_64
.github/workflows/ci-run-tests.sh
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/freebsd-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ run () {
cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../tests || exit 64
make || exit 64
cd ..

chmod u+x .github/workflows/test-executable.sh
kcov --include-pattern=test-executable.sh coverage .github/workflows/test-executable.sh
}

run "$@"

0 comments on commit 17ec809

Please sign in to comment.