Skip to content

Commit bb5101a

Browse files
authored
Fix FreeBSD build (#78)
Something has changed in how GH Action runs FreeBSD builds. Looks like gcc --version with no gcc available now breaks the build of error. This mitigates the problem.
1 parent 839e7a0 commit bb5101a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ jobs:
146146
whoami
147147
env
148148
freebsd-version
149-
c++ --version
150-
gcc --version
151-
clang++ --version
149+
c++ --version || :
150+
gcc --version || :
151+
clang++ --version || :
152152
pkg info
153153
154154
echo '#### Installing GoogleTest'

0 commit comments

Comments
 (0)