@@ -39,16 +39,14 @@ jobs:
3939 - uses : dtolnay/rust-toolchain@stable
4040 - name : Install system dependencies
4141 run : sudo apt-get update && sudo apt-get install -y libspeechd-dev libclang-dev
42- - name : Clippy (all features)
43- run : cargo clippy --all- features -- -D warnings
44- - name : Test (all features)
45- run : cargo test --all- features
42+ - name : Clippy (Linux features)
43+ run : cargo clippy --no-default- features --features system,cloud,sherpaonnx -- -D warnings
44+ - name : Test (Linux features)
45+ run : cargo test --no-default- features --features system,cloud,sherpaonnx
4646 - name : Build system-only
4747 run : cargo build --no-default-features --features system
4848 - name : Build cloud-only
4949 run : cargo build --no-default-features --features cloud
50- - name : Build with sherpaonnx
51- run : cargo build --no-default-features --features system,sherpaonnx
5250
5351 build :
5452 name : Build ${{ matrix.label }}
5755 fail-fast : false
5856 matrix :
5957 include :
60- - target : x86_64-unknown-linux-gnu
61- os : ubuntu-latest
62- features : " system"
63- label : " system-x86_64-linux"
64- lib_ext : so
6558 - target : x86_64-unknown-linux-gnu
6659 os : ubuntu-latest
6760 features : " system,cloud"
@@ -72,40 +65,46 @@ jobs:
7265 features : " system,cloud,sherpaonnx"
7366 label : " system-cloud-sherpaonnx-x86_64-linux"
7467 lib_ext : so
68+ - target : aarch64-unknown-linux-gnu
69+ os : ubuntu-latest
70+ features : " system,cloud"
71+ label : " system-cloud-aarch64-linux"
72+ lib_ext : so
73+ cross : true
7574 - target : x86_64-apple-darwin
7675 os : macos-latest
77- features : " cloud"
78- label : " cloud-x86_64-macos"
76+ features : " avsynth, cloud"
77+ label : " avsynth- cloud-x86_64-macos"
7978 lib_ext : dylib
8079 - target : aarch64-apple-darwin
8180 os : macos-latest
82- features : " cloud"
83- label : " cloud-aarch64-macos"
81+ features : " avsynth, cloud"
82+ label : " avsynth- cloud-aarch64-macos"
8483 lib_ext : dylib
8584 - target : x86_64-apple-darwin
8685 os : macos-latest
87- features : " cloud,sherpaonnx"
88- label : " cloud-sherpaonnx-x86_64-macos"
86+ features : " avsynth, cloud,sherpaonnx"
87+ label : " avsynth- cloud-sherpaonnx-x86_64-macos"
8988 lib_ext : dylib
9089 - target : aarch64-apple-darwin
9190 os : macos-latest
92- features : " cloud,sherpaonnx"
93- label : " cloud-sherpaonnx-aarch64-macos"
91+ features : " avsynth, cloud,sherpaonnx"
92+ label : " avsynth- cloud-sherpaonnx-aarch64-macos"
9493 lib_ext : dylib
9594 - target : x86_64-pc-windows-msvc
9695 os : windows-latest
97- features : " cloud"
98- label : " cloud-x86_64-windows"
96+ features : " sapi, cloud"
97+ label : " sapi- cloud-x86_64-windows"
9998 lib_ext : dll
10099 - target : aarch64-pc-windows-msvc
101100 os : windows-latest
102- features : " cloud"
103- label : " cloud-aarch64-windows"
101+ features : " sapi, cloud"
102+ label : " sapi- cloud-aarch64-windows"
104103 lib_ext : dll
105104 - target : x86_64-pc-windows-msvc
106105 os : windows-latest
107- features : " cloud,sherpaonnx"
108- label : " cloud-sherpaonnx-x86_64-windows"
106+ features : " sapi, cloud,sherpaonnx"
107+ label : " sapi- cloud-sherpaonnx-x86_64-windows"
109108 lib_ext : dll
110109 runs-on : ${{ matrix.os }}
111110 steps :
0 commit comments