3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-28 04:09:02 +00:00

Merge pull request #5319 from YosysHQ/krys/brew_bundle

Fix failing macOS CI runs
This commit is contained in:
KrystalDelusion 2025-09-02 18:03:00 +12:00 committed by GitHub
commit 819b9635b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 6 deletions

View file

@ -14,8 +14,7 @@ runs:
if: runner.os == 'macOS'
shell: bash
run: |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew update
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install bison flex gawk libffi pkg-config bash autoconf llvm lld || true
brew bundle
- name: Linux runtime environment
if: runner.os == 'Linux'
@ -29,7 +28,7 @@ runs:
shell: bash
run: |
echo "${{ github.workspace }}/.local/bin" >> $GITHUB_PATH
echo "$(brew --prefix llvm)/bin" >> $GITHUB_PATH
echo "$(brew --prefix llvm@20)/bin" >> $GITHUB_PATH
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV

View file

@ -36,9 +36,12 @@ jobs:
- 'clang-19'
- 'gcc-13'
include:
# macOS
# macOS x86
- os: macos-13
compiler: 'clang'
# macOS arm
- os: macos-latest
compiler: 'clang'
fail-fast: false
steps:
- name: Checkout Yosys

View file

@ -6,9 +6,8 @@ brew "git"
brew "graphviz"
brew "pkg-config"
brew "python3"
brew "tcl-tk"
brew "xdot"
brew "bash"
brew "boost-python3"
brew "llvm"
brew "llvm@20"
brew "lld"