Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflows #9

Merged
merged 1 commit into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- runner: windows-latest
target: x86_64-pc-windows-msvc
toolchain: [stable, beta, nightly]
features: ["ipadic,ko-dic,cc-cedict"]
features: ["cjk"]
runs-on: ${{ matrix.platform.runner }}
env:
LINDERA_CONFIG_PATH: "./resources/lindera.yml"
Expand All @@ -35,4 +35,4 @@ jobs:
components: rustfmt, clippy

- name: Run test
run: cargo test --target "${{ matrix.platform.target }}" --features "${{ matrix.features }}"
run: cargo test --target "${{ matrix.platform.target }}" --features "${{ matrix.features }},extension"
4 changes: 2 additions & 2 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- runner: ubuntu-latest
target: x86_64
toolchain: [stable]
features: ["ipadic", "ko-dic", "cc-cedict"]
features: ["cjk"]
runs-on: ${{ matrix.platform.runner }}
steps:
- name: Run checkout
Expand All @@ -53,7 +53,7 @@ jobs:
components: rustfmt, clippy

- name: Run check
run: cargo check --features "${{ matrix.features }}"
run: cargo check --features "${{ matrix.features }},extension"

test:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
archive: .zip
extension: ".dll"
toolchain: [stable]
features: ["ipadic", "ko-dic", "cc-cedict"]
features: ["cjk"]
runs-on: ${{ matrix.platform.runner }}
env:
LINDERA_CONFIG_PATH: "./resources/lindera.json"
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ ko-dic = ["lindera/ko-dic"] # Include ko-dic dictionary (Korean)
cc-cedict = ["lindera/cc-cedict"] # Include CC-CEDICT dictionary (Chinese)
compress = ["lindera/compress"] # Compress dictionaries
extension = []
cjk = ["cc-cedict", "ipadic", "ko-dic", "compress", "extension"] # Include CJK dictionary (Chinese, Japanese, Korean)

[lib]
# crate-type = ["rlib", "staticlib"]
crate-type = ["cdylib"]

[profile.release]
Expand All @@ -41,5 +41,5 @@ lindera = "0.38.0"
criterion = "0.5"

[[bench]]
name = "tokenizer"
name = "bench"
harness = false
File renamed without changes.