1414 check :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/setup-python@v5
18- with :
19- python-version : " 3.11"
2017 - uses : actions/checkout@v4
2118 - uses : dprint/check@v2.2
2219 - uses : pre-commit/action@v3.0.1
4239 path : ~/.cache/huggingface
4340 key : macos-test-data
4441 - name : Build
45- run : cargo build -vv - p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
42+ run : cargo build -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
4643 - name : Run tests
47- run : cargo test -vv - p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
44+ run : cargo test -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
4845
4946 build-linux :
5047 strategy :
@@ -71,11 +68,10 @@ jobs:
7168 path : ~/.cache/huggingface
7269 key : linux-test-data
7370 - name : Build
74- run : cargo build -vv - p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
71+ run : cargo build -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
7572 - name : Run tests
76- run : cargo test -vv -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
77- if : ${{ matrix.backend != 'mkl' }}
78-
73+ run : cargo test -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
74+ if : ${{ matrix.backend != 'mkl' && matrix.backend != 'dnnl' }}
7975 build-windows :
8076 strategy :
8177 fail-fast : false
@@ -107,9 +103,9 @@ jobs:
107103 path : ~/.cache/huggingface
108104 key : windows-test-data
109105 - name : Build
110- run : cargo build -vv - p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
106+ run : cargo build -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
111107 - name : Run tests
112- run : cargo test -vv - p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
108+ run : cargo test -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
113109 if : ${{ matrix.backend != 'mkl' }}
114110
115111 docs :
@@ -121,5 +117,5 @@ jobs:
121117 - uses : Swatinem/rust-cache@v2
122118 - name : Build
123119 run : |
124- cargo +nightly rustdoc -F whisper,hub -vv - p ct2rs -- --cfg docsrs
125- cargo +nightly rustdoc -F whisper,hub -vv - p ct2rs-platform -- --cfg docsrs
120+ cargo +nightly rustdoc -F whisper,hub -p ct2rs -- --cfg docsrs
121+ cargo +nightly rustdoc -F whisper,hub -p ct2rs-platform -- --cfg docsrs
0 commit comments