Skip to content

Commit

Permalink
Merge pull request #9 from lindera/workflows
Browse files Browse the repository at this point in the history
Fix workflows
  • Loading branch information
mosuka authored Nov 17, 2024
2 parents fc7db34 + c3dc675 commit 6410659
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
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.

0 comments on commit 6410659

Please sign in to comment.