Skip to content

Commit 623ad0d

Browse files
authored
Merge pull request #132 from lambdaclass/macos-ci
Add macos ci
2 parents 27904dc + a984efc commit 623ad0d

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/ci.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,25 @@ jobs:
7373
run: sudo apt-get install libc-dev build-essential
7474
- name: test
7575
run: make test
76-
76+
test-macos:
77+
name: test (macOS)
78+
runs-on: macos-14
79+
env:
80+
CARGO_TERM_COLOR: always
81+
LIBRARY_PATH: /opt/homebrew/lib
82+
MLIR_SYS_180_PREFIX: /opt/homebrew/opt/llvm@18
83+
LLVM_SYS_180_PREFIX: /opt/homebrew/opt/llvm@18
84+
TABLEGEN_180_PREFIX: /opt/homebrew/opt/llvm@18
85+
RUST_LOG: debug
86+
steps:
87+
- uses: actions/checkout@v4
88+
- name: Rustup toolchain install
89+
uses: dtolnay/[email protected]
90+
- uses: homebrew/actions/setup-homebrew@master
91+
- name: install llvm
92+
run: brew install llvm@18
93+
- name: Run tests
94+
run: make test
7795
coverage:
7896
name: coverage
7997
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)