Skip to content

Commit a21cc87

Browse files
authored
ci: -vv-v (#871)
#323 以降Cargoコマンドに付けていた`-vv` (`--verbose --verbose`)を`-v` (`--verbose`)にする。理由としてはこの二年で依存ライブラリが増大したこと により、ログ出力の量がMB単位になる場合が出てきたため。 Cargoコマンドによってはギリギリプレビューできる範囲に収まっているが、 個々について考えるのも面倒だし、一貫性の観点からも一括して置き換えてしま う。 Refs: #323
1 parent 4fbca30 commit a21cc87

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ jobs:
237237
ios-xcframework) linking=link-onnxruntime ;;
238238
esac
239239
function build() {
240-
cargo build -p voicevox_core_c_api -vv --features "$linking" --target ${{ matrix.target }} --release
240+
cargo build -p voicevox_core_c_api -v --features "$linking" --target ${{ matrix.target }} --release
241241
}
242242
if ${{ !inputs.is_production }}; then
243243
build
@@ -267,7 +267,7 @@ jobs:
267267
if: contains(matrix.target, 'android')
268268
run: |
269269
function build() {
270-
cargo build -p voicevox_core_java_api -vv --target ${{ matrix.target }} --release
270+
cargo build -p voicevox_core_java_api -v --target ${{ matrix.target }} --release
271271
}
272272
if ${{ !inputs.is_production }}; then
273273
build

.github/workflows/build_and_deploy_downloader.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
targets: ${{ matrix.target }}
8484

8585
- name: Build downloader
86-
run: cargo build -vv --release -p downloader --target ${{ matrix.target }}
86+
run: cargo build -v --release -p downloader --target ${{ matrix.target }}
8787

8888
- name: Rename the binary
8989
run: |

.github/workflows/download_test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
include:
3434
- name: 通常ダウンロード
3535
os: windows-latest
36-
download_command: cargo run -vv -p downloader -- # バージョン指定のために -- が必要
36+
download_command: cargo run -v -p downloader -- # バージョン指定のために -- が必要
3737
download_dir: voicevox_core
3838
check_items: |
3939
voicevox_core.dll
@@ -51,7 +51,7 @@ jobs:
5151
*curand*
5252
- name: CpuArch指定
5353
os: windows-latest
54-
download_command: cargo run -vv -p downloader -- --cpu-arch x86
54+
download_command: cargo run -v -p downloader -- --cpu-arch x86
5555
download_dir: voicevox_core
5656
check_items: |
5757
voicevox_core.dll
@@ -68,7 +68,7 @@ jobs:
6868
*curand*
6969
- name: output先指定ダウンロード
7070
os: windows-latest
71-
download_command: cargo run -vv -p downloader -- -o other_output
71+
download_command: cargo run -v -p downloader -- -o other_output
7272
download_dir: other_output
7373
check_items: |
7474
voicevox_core.dll
@@ -85,7 +85,7 @@ jobs:
8585
*curand*
8686
- name: Min option確認
8787
os: windows-latest
88-
download_command: cargo run -vv -p downloader -- --min
88+
download_command: cargo run -v -p downloader -- --min
8989
download_dir: voicevox_core
9090
check_items: |
9191
voicevox_core.dll
@@ -102,7 +102,7 @@ jobs:
102102
open_jtalk_dic_utf_8-1.11
103103
- name: DirectML option確認
104104
os: windows-latest
105-
download_command: cargo run -vv -p downloader -- --devices directml
105+
download_command: cargo run -v -p downloader -- --devices directml
106106
download_dir: voicevox_core
107107
check_items: |
108108
voicevox_core.dll
@@ -121,7 +121,7 @@ jobs:
121121
*curand*
122122
- name: DirectMLかつMin option確認
123123
os: windows-latest
124-
download_command: cargo run -vv -p downloader -- --devices directml --min
124+
download_command: cargo run -v -p downloader -- --devices directml --min
125125
download_dir: voicevox_core
126126
check_items: |
127127
voicevox_core.dll
@@ -139,7 +139,7 @@ jobs:
139139
open_jtalk_dic_utf_8-1.11
140140
- name: cuda option確認
141141
os: windows-latest
142-
download_command: cargo run -vv -p downloader -- --devices cuda
142+
download_command: cargo run -v -p downloader -- --devices cuda
143143
download_dir: voicevox_core
144144
check_items: |
145145
voicevox_core.dll
@@ -161,7 +161,7 @@ jobs:
161161
*directml*
162162
- name: cudaかつmin option確認
163163
os: windows-latest
164-
download_command: cargo run -vv -p downloader -- --devices cuda --min
164+
download_command: cargo run -v -p downloader -- --devices cuda --min
165165
download_dir: voicevox_core
166166
check_items: |
167167
voicevox_core.dll

.github/workflows/test.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ jobs:
7272
with:
7373
python-version: "3.8"
7474
- uses: Swatinem/rust-cache@v2
75-
- run: cargo clippy -vv --tests -- -D clippy::all -D warnings --no-deps
76-
- run: cargo clippy -vv -- -D clippy::all -D warnings --no-deps
77-
- run: cargo clippy -vv -p voicevox_core -p voicevox_core_c_api --features link-onnxruntime --tests -- -D clippy::all -D warnings --no-deps
78-
- run: cargo clippy -vv -p voicevox_core -p voicevox_core_c_api --features link-onnxruntime -- -D clippy::all -D warnings --no-deps
75+
- run: cargo clippy -v --tests -- -D clippy::all -D warnings --no-deps
76+
- run: cargo clippy -v -- -D clippy::all -D warnings --no-deps
77+
- run: cargo clippy -v -p voicevox_core -p voicevox_core_c_api --features link-onnxruntime --tests -- -D clippy::all -D warnings --no-deps
78+
- run: cargo clippy -v -p voicevox_core -p voicevox_core_c_api --features link-onnxruntime -- -D clippy::all -D warnings --no-deps
7979
- run: cargo fmt -- --check
8080

8181
rust-unit-test:
@@ -88,9 +88,9 @@ jobs:
8888
with:
8989
key: "cargo-unit-test-cache"
9090
- name: Run cargo unit test
91-
run: RUST_BACKTRACE=full cargo test --lib --bins -vv -- --include-ignored
91+
run: RUST_BACKTRACE=full cargo test --lib --bins -v -- --include-ignored
9292
- name: Run cargo documentation test
93-
run: RUST_BACKTRACE=full cargo test --doc -vv
93+
run: RUST_BACKTRACE=full cargo test --doc -v
9494

9595
rust-integration-test-strategy-matrix: # 実行対象の条件をフィルタリングする
9696
runs-on: ubuntu-latest
@@ -135,7 +135,7 @@ jobs:
135135
with:
136136
key: "cargo-integration-test-cache-${{ matrix.os }}"
137137
- name: Run cargo integration test (load-onnxruntime)
138-
run: RUST_BACKTRACE=full cargo test --test "*" -vv -- --include-ignored
138+
run: RUST_BACKTRACE=full cargo test --test "*" -v -- --include-ignored
139139

140140
c-header:
141141
runs-on: ubuntu-latest
@@ -193,7 +193,7 @@ jobs:
193193
- name: Install cargo-binstall
194194
uses: taiki-e/install-action@cargo-binstall
195195
- name: build voicevox_core_c_api
196-
run: cargo build -p voicevox_core_c_api --features load-onnxruntime -vv
196+
run: cargo build -p voicevox_core_c_api --features load-onnxruntime -v
197197
- name: 必要なfileをunix用exampleのディレクトリに移動させる
198198
run: |
199199
mkdir -p example/cpp/unix/voicevox_core/
@@ -237,7 +237,7 @@ jobs:
237237
- name: Install cargo-binstall
238238
uses: taiki-e/install-action@cargo-binstall
239239
- name: build voicevox_core_c_api
240-
run: cargo build -p voicevox_core_c_api --features load-onnxruntime -vv
240+
run: cargo build -p voicevox_core_c_api --features load-onnxruntime -v
241241
- name: 必要なfileをexampleのディレクトリに移動させる
242242
shell: bash
243243
run: |
@@ -281,7 +281,7 @@ jobs:
281281
- run: |
282282
pip install --upgrade poetry
283283
poetry install --with dev --with test
284-
- run: cargo build -p test_util -vv # build scriptにより/crates/test_util/data/の生成
284+
- run: cargo build -p test_util -v # build scriptにより/crates/test_util/data/の生成
285285
- run: poetry run maturin build --locked
286286
- run: poetry run maturin develop --locked
287287
- name: 必要なDLLをコピーしてpytestを実行
@@ -316,8 +316,8 @@ jobs:
316316
distribution: "adopt"
317317
- name: Build
318318
run: |
319-
cargo build -p voicevox_core_java_api -vv
320-
cargo build -p test_util -vv # build scriptにより/crates/test_util/data/の生成
319+
cargo build -p voicevox_core_java_api -v
320+
cargo build -p test_util -v # build scriptにより/crates/test_util/data/の生成
321321
- name: 必要なDLLをコピーしてテストを実行
322322
working-directory: crates/voicevox_core_java_api
323323
run: |

0 commit comments

Comments
 (0)