Skip to content

Commit

Permalink
actions/build-osx-clang: tweak brew
Browse files Browse the repository at this point in the history
set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK, so that 'brew install' does
not imply the upgrade or reinstallation of dependent packages. this is
needed as github actions' image comes with a significant amount of
pre-installed packages, and given we install llvm and zlib, a bunch of
unrelated packages were being reinstalled. the corollary is that it is
now our responsibility to manually upgrade/reinstall any dependents we
are interested in. at the moment that's an empty set, and while it is
likely to remain that way, here's a note of caution to future readers.
  • Loading branch information
martelletto authored and LDVG committed Dec 18, 2023
1 parent 9634391 commit a5b7267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/macos_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: dependencies
env:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
run: brew install libcbor llvm mandoc [email protected] pkg-config zlib
- name: build
env:
Expand Down

0 comments on commit a5b7267

Please sign in to comment.