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:
commit
819b9635b4
3 changed files with 7 additions and 6 deletions
5
.github/actions/setup-build-env/action.yml
vendored
5
.github/actions/setup-build-env/action.yml
vendored
|
@ -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
|
||||
|
|
5
.github/workflows/test-compile.yml
vendored
5
.github/workflows/test-compile.yml
vendored
|
@ -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
|
||||
|
|
3
Brewfile
3
Brewfile
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue