Skip to content

Commit

Permalink
fixes build on macOS
Browse files Browse the repository at this point in the history
adds the `rm -rf /usr/local/bin/2to3` workaround as suggested in
actions/runner-images#2322
  • Loading branch information
ivg committed Jan 4, 2021
1 parent 5928892 commit b461b3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-dev-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ jobs:

- name: Configure Homebrew LLVM
if: matrix.os == 'macos-latest'
run: echo 'LLVM_CONFIG=/usr/local/opt/llvm@9/bin/llvm-config' >> $GITHUB_ENV
run: |
brew update
brew upgrade
rm -rf /usr/local/bin/2to3
echo 'LLVM_CONFIG=/usr/local/opt/llvm@9/bin/llvm-config' >> $GITHUB_ENV
- name: Install system dependencies
run: opam depext -u bap
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nightly-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
run: |
brew update
brew upgrade
rm -rf /usr/local/bin/2to3
echo 'LLVM_CONFIG=/usr/local/opt/llvm@9/bin/llvm-config' >> $GITHUB_ENV
- name: Add the Testing Repository
Expand Down

0 comments on commit b461b3e

Please sign in to comment.