Skip to content

Commit

Permalink
Install llvm from brew
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Oct 24, 2023
1 parent a1ff93f commit 9555d51
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ jobs:
with:
compiler: ldc-1.33.0

- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Install dependencies
run: |
sudo dpkg --add-architecture i386
Expand Down Expand Up @@ -149,6 +145,10 @@ jobs:
with:
compiler: ldc-1.33.0

- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Set-up macOS cross-compilation
run: |
mkdir -p $HOME/.ldc/
Expand Down Expand Up @@ -180,8 +180,8 @@ jobs:
mkdir $HOME/ldc-macos
curl -LO https://github.com/ldc-developers/ldc/releases/download/v1.33.0/ldc2-1.33.0-osx-x86_64.tar.xz
tar -xf ./ldc2-1.33.0-osx-x86_64.tar.xz -C $HOME
brew fetch --force --bottle-tag=arm64_monterey llvm
brew install $(brew --cache --bottle-tag=arm64_monterey llvm)
brew fetch --force --bottle-tag=monterey llvm
brew install $(brew --cache --bottle-tag=monterey llvm)
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libz-dev elfutils clang lld
Expand Down

0 comments on commit 9555d51

Please sign in to comment.