|
71 | 71 | strategy:
|
72 | 72 | matrix:
|
73 | 73 | rust-branch:
|
74 |
| - - nightly-2024-03-05 |
| 74 | + - stable |
75 | 75 | rust-target:
|
76 | 76 | - x86_64-unknown-linux-gnu
|
77 | 77 | # - x86_64-apple-darwin
|
@@ -119,55 +119,7 @@ jobs:
|
119 | 119 | strategy:
|
120 | 120 | matrix:
|
121 | 121 | rust-branch:
|
122 |
| - - nightly-2024-03-05 |
123 |
| - rust-target: |
124 |
| - - x86_64-unknown-linux-gnu |
125 |
| - # - x86_64-apple-darwin |
126 |
| - os: |
127 |
| - - ubuntu-latest |
128 |
| - # - macos-latest |
129 |
| - include: |
130 |
| - - os: ubuntu-latest |
131 |
| - # - os: macos-latest |
132 |
| - env: |
133 |
| - RELEASE_NAME: development |
134 |
| - # RUSTFLAGS: -A warnings |
135 |
| - RUSTV: ${{ matrix.rust-branch }} |
136 |
| - RUST_BACKTRACE: full |
137 |
| - RUST_BIN_DIR: target/${{ matrix.rust-target }} |
138 |
| - SKIP_WASM_BUILD: 1 |
139 |
| - TARGET: ${{ matrix.rust-target }} |
140 |
| - steps: |
141 |
| - - name: Check-out repository under $GITHUB_WORKSPACE |
142 |
| - uses: actions/checkout@v2 |
143 |
| - |
144 |
| - - name: Install dependencies |
145 |
| - run: | |
146 |
| - sudo apt-get update && |
147 |
| - sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler |
148 |
| -
|
149 |
| - - name: Install Rust ${{ matrix.rust-branch }} |
150 |
| - uses: actions-rs/toolchain@v1.0.6 |
151 |
| - with: |
152 |
| - toolchain: ${{ matrix.rust-branch }} |
153 |
| - components: rustfmt, clippy |
154 |
| - profile: minimal |
155 |
| - |
156 |
| - - name: Utilize Shared Rust Cache |
157 |
| - uses: Swatinem/rust-cache@v2.2.1 |
158 |
| - with: |
159 |
| - key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }} |
160 |
| - |
161 |
| - - name: cargo clippy --workspace --all-targets --all-features -- -D warnings |
162 |
| - run: cargo clippy --workspace --all-targets --all-features -- -D warnings |
163 |
| - |
164 |
| - cargo-clippy-all-features: |
165 |
| - name: cargo clippy --all-features |
166 |
| - runs-on: SubtensorCI |
167 |
| - strategy: |
168 |
| - matrix: |
169 |
| - rust-branch: |
170 |
| - - nightly-2024-03-05 |
| 122 | + - stable |
171 | 123 | rust-target:
|
172 | 124 | - x86_64-unknown-linux-gnu
|
173 | 125 | # - x86_64-apple-darwin
|
@@ -208,15 +160,14 @@ jobs:
|
208 | 160 |
|
209 | 161 | - name: cargo clippy --workspace --all-targets --all-features -- -D warnings
|
210 | 162 | run: cargo clippy --workspace --all-targets --all-features -- -D warnings
|
211 |
| - |
212 | 163 | # runs cargo test --workspace
|
213 | 164 | cargo-test:
|
214 | 165 | name: cargo test
|
215 | 166 | runs-on: SubtensorCI
|
216 | 167 | strategy:
|
217 | 168 | matrix:
|
218 | 169 | rust-branch:
|
219 |
| - - nightly-2024-03-05 |
| 170 | + - stable |
220 | 171 | rust-target:
|
221 | 172 | - x86_64-unknown-linux-gnu
|
222 | 173 | # - x86_64-apple-darwin
|
@@ -265,7 +216,7 @@ jobs:
|
265 | 216 | strategy:
|
266 | 217 | matrix:
|
267 | 218 | rust-branch:
|
268 |
| - - nightly-2024-03-05 |
| 219 | + - stable |
269 | 220 | rust-target:
|
270 | 221 | - x86_64-unknown-linux-gnu
|
271 | 222 | # - x86_64-apple-darwin
|
@@ -314,7 +265,7 @@ jobs:
|
314 | 265 | strategy:
|
315 | 266 | matrix:
|
316 | 267 | rust-branch:
|
317 |
| - - nightly-2024-03-05 |
| 268 | + - stable |
318 | 269 | rust-target:
|
319 | 270 | - x86_64-unknown-linux-gnu
|
320 | 271 | # - x86_64-apple-darwin
|
|
0 commit comments