|
42 | 42 | steps: |
43 | 43 | - name: Checkout Repository |
44 | 44 | uses: actions/checkout@v4 |
| 45 | + with: |
| 46 | + lfs: true |
45 | 47 |
|
46 | 48 | - name: Cache cargo builds |
47 | 49 | uses: Swatinem/rust-cache@v2 |
@@ -87,14 +89,30 @@ jobs: |
87 | 89 | cargo +nightly-2025-09-26 fmt --all --check |
88 | 90 |
|
89 | 91 | - name: Build workspace |
| 92 | + if: ${{ contains(matrix.features, 'lambda-rs/audio-output-device') }} |
90 | 93 | run: cargo build --workspace --features ${{ matrix.features }} |
91 | 94 |
|
| 95 | + - name: Build workspace (exclude audio tools) |
| 96 | + if: ${{ !contains(matrix.features, 'lambda-rs/audio-output-device') }} |
| 97 | + run: | |
| 98 | + cargo build --workspace \ |
| 99 | + --exclude lambda-audio-tool \ |
| 100 | + --features ${{ matrix.features }} |
| 101 | +
|
92 | 102 | - name: Build examples (lambda-rs) |
93 | 103 | run: cargo build -p lambda-rs --examples --features ${{ matrix.features }} |
94 | 104 |
|
95 | 105 | - name: Test workspace |
| 106 | + if: ${{ contains(matrix.features, 'lambda-rs/audio-output-device') }} |
96 | 107 | run: cargo test --workspace --features ${{ matrix.features }} |
97 | 108 |
|
| 109 | + - name: Test workspace (exclude audio tools) |
| 110 | + if: ${{ !contains(matrix.features, 'lambda-rs/audio-output-device') }} |
| 111 | + run: | |
| 112 | + cargo test --workspace \ |
| 113 | + --exclude lambda-audio-tool \ |
| 114 | + --features ${{ matrix.features }} |
| 115 | +
|
98 | 116 | - uses: actions/setup-ruby@v1 |
99 | 117 | - name: Send Webhook Notification for build status. |
100 | 118 | if: ${{ github.ref == 'refs/heads/main' }} |
|
0 commit comments