From 7d0e5a590caf209230695bf1c0d5fb5d51b8b1a2 Mon Sep 17 00:00:00 2001 From: Edgar Date: Thu, 9 May 2024 11:45:25 +0200 Subject: [PATCH] macos ci --- .github/workflows/ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5468d33d..57f89853 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,26 @@ jobs: run: sudo apt-get install libc-dev build-essential - name: test run: make test - + test-macos: + name: test (macOS) + runs-on: macos-14 + env: + CARGO_TERM_COLOR: always + CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse + LIBRARY_PATH: /opt/homebrew/lib + MLIR_SYS_170_PREFIX: /opt/homebrew/opt/llvm@18 + LLVM_SYS_170_PREFIX: /opt/homebrew/opt/llvm@18 + TABLEGEN_170_PREFIX: /opt/homebrew/opt/llvm@18 + RUST_LOG: debug + steps: + - uses: actions/checkout@v4 + - name: Rustup toolchain install + uses: dtolnay/rust-toolchain@1.78.0 + - uses: homebrew/actions/setup-homebrew@master + - name: install llvm + run: brew install llvm@18 + - name: Run tests + run: make test coverage: name: coverage runs-on: ubuntu-latest