Skip to content

Commit 98c9284

Browse files
committed
Setup Gtihub Action to build LLVM
1 parent 6e88487 commit 98c9284

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/llvm.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Darwin LLVM build
2+
3+
on: [push, pull_request]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
env:
10+
LLVM_VERSION: 15.0.7
11+
MACOSX_DEPLOYMENT_TARGET: 10.11
12+
13+
jobs:
14+
llvm-build:
15+
runs-on: macos-13
16+
steps:
17+
- name: Download Crystal source
18+
uses: actions/checkout@v4
19+
20+
- name: Prepare folders
21+
run: |
22+
brew update
23+
brew install pkgconfig libtool cmake
24+
25+
sudo mkdir -p /opt/llvm
26+
sudo chown $(whoami) /opt/llvm/
27+
sudo mkdir -p /var/cache
28+
sudo chown $(whoami) /var/cache

0 commit comments

Comments
 (0)