Skip to content

Commit 745237d

Browse files
authored
Merge pull request #60 from utilityai/59-add-mac-to-ci
added check for building on mac
2 parents 7f04d39 + 6ae69b1 commit 745237d

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/llama-cpp-rs-check.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,16 @@ jobs:
5555
with:
5656
file: test-build.Dockerfile
5757
target: base-cuda
58-
platforms: ${{ matrix.target }}
58+
platforms: ${{ matrix.target }}
59+
mac:
60+
name: Check that it builds on mac
61+
runs-on: macos-latest
62+
steps:
63+
- name: checkout
64+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
65+
with:
66+
submodules: recursive
67+
- name: Setup Rust
68+
uses: dtolnay/rust-toolchain@stable
69+
- name: Build
70+
run: cargo build

llama-cpp-2/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
name = "llama-cpp-2"
33
description = "llama.cpp bindings for Rust"
4-
version = "0.1.22"
4+
version = "0.1.25"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/utilityai/llama-cpp-rs"
88

99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

1111
[dependencies]
12-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.22" }
12+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.25" }
1313
thiserror = { workspace = true }
1414
tracing = { workspace = true }
1515

llama-cpp-sys-2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "llama-cpp-sys-2"
33
description = "Low Level Bindings to llama.cpp"
4-
version = "0.1.22"
4+
version = "0.1.25"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/utilityai/llama-cpp-rs"

0 commit comments

Comments
 (0)