Skip to content

Commit

Permalink
[CI] Add workaround to let server run on macOS without proper hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Mar 22, 2023
1 parent 7d20432 commit 322f72e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ jobs:
# be given explicitly.
- name: Build with cmake
run: |
# workaround for issue #1772, should be removed when that's fixed
sudo sed -i -e "s/localhost/localhost $(hostname)/g" /etc/hosts
cd ..
cmake \
-DCMAKE_C_COMPILER=clang \
Expand Down

0 comments on commit 322f72e

Please sign in to comment.