mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 04:47:53 -04:00
Compare commits
5 Commits
5d7a0a26e0
...
2446ea761a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2446ea761a | ||
![]() |
bffcf90de2 | ||
![]() |
65eaeee0e9 | ||
![]() |
ae372981f9 | ||
2f86ab7d39 |
43
.github/workflows/check-and-build-and-test.yml
vendored
43
.github/workflows/check-and-build-and-test.yml
vendored
@@ -189,3 +189,46 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
run: cargo nextest run --target ${{ matrix.supporteds.target }}
|
||||
|
||||
msrv:
|
||||
strategy:
|
||||
matrix:
|
||||
crate_directory:
|
||||
- ./core
|
||||
- ./cli-clap
|
||||
- ./gui-eframe
|
||||
- ./tui-ratatui
|
||||
- ./multibinary
|
||||
|
||||
supporteds:
|
||||
- runner: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
|
||||
- runner: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
|
||||
- runner: windows-latest
|
||||
target: x86_64-pc-windows-msvc
|
||||
name: Verify MSRV of ${{ matrix.crate_directory }} for ${{ matrix.supporteds.target }} (on ${{ matrix.supporteds.runner }})
|
||||
runs-on: ${{ matrix.supporteds.runner }}
|
||||
timeout-minutes: 2
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install stable Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Install cargo-msrv
|
||||
uses: taiki-e/install-action@v2
|
||||
with:
|
||||
tool: cargo-msrv
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
shared-key: ${{ matrix.supporteds.target }}-latest-variable
|
||||
cache-on-failure: "true"
|
||||
|
||||
- name: Verify MSRV (minimum supported Rust version)
|
||||
run: cargo msrv verify
|
||||
working-directory: ${{ strategy.crate_directory }}
|
||||
|
22
Cargo.lock
generated
22
Cargo.lock
generated
@@ -28,6 +28,7 @@ version = "0.0.3"
|
||||
dependencies = [
|
||||
"llama-cpp-2",
|
||||
"llama-cpp-sys-2",
|
||||
"snafu",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
@@ -568,6 +569,27 @@ version = "1.13.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
||||
|
||||
[[package]]
|
||||
name = "snafu"
|
||||
version = "0.8.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "223891c85e2a29c3fe8fb900c1fae5e69c2e42415e3177752e8718475efa5019"
|
||||
dependencies = [
|
||||
"snafu-derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "snafu-derive"
|
||||
version = "0.8.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "03c3c6b7927ffe7ecaa769ee0e3994da3b8cafc8f444578982c83ecb161af917"
|
||||
dependencies = [
|
||||
"heck",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "strsim"
|
||||
version = "0.11.1"
|
||||
|
@@ -9,4 +9,5 @@ repository = "https://github.com/babichjacob/ac-qu-ai-nt"
|
||||
|
||||
[workspace.dependencies]
|
||||
clap = "4"
|
||||
snafu = "0.8"
|
||||
tracing = "0.1.23"
|
||||
|
@@ -16,5 +16,6 @@ tracing = ["dep:tracing"]
|
||||
[dependencies]
|
||||
llama-cpp-2 = "=0.1.64"
|
||||
llama-cpp-sys-2 = "=0.1.64"
|
||||
snafu = { workspace = true }
|
||||
|
||||
tracing = { workspace = true, optional = true }
|
||||
|
Reference in New Issue
Block a user