3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-28 20:29:03 +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' if: runner.os == 'macOS'
shell: bash shell: bash
run: | run: |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew update brew bundle
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install bison flex gawk libffi pkg-config bash autoconf llvm lld || true
- name: Linux runtime environment - name: Linux runtime environment
if: runner.os == 'Linux' if: runner.os == 'Linux'
@ -29,7 +28,7 @@ runs:
shell: bash shell: bash
run: | run: |
echo "${{ github.workspace }}/.local/bin" >> $GITHUB_PATH 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 bison)/bin" >> $GITHUB_PATH
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV

View file

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

View file

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