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:
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'
|
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
|
||||||
|
|
5
.github/workflows/test-compile.yml
vendored
5
.github/workflows/test-compile.yml
vendored
|
@ -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
|
||||||
|
|
3
Brewfile
3
Brewfile
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue