-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (40 loc) · 981 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install llvm 18
run: |
sudo apt-get purge --auto-remove llvm python3-lldb-14 llvm-14
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
rm llvm.sh
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Build
run: make all
- name: Install tools
run: make install
- name: Tests
run: make test
- name: Benchmark
run: make benchmark
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install LLVM and Clang
run: |
brew install coreutils
brew install llvm@18
- name: Build
run: export PATH="/opt/homebrew/opt/llvm@18/bin:$PATH" && make all