File tree 2 files changed +5
-17
lines changed
2 files changed +5
-17
lines changed Original file line number Diff line number Diff line change 36
36
fail-fast : false
37
37
matrix :
38
38
os : [macos-13, ubuntu-22.04, windows-2022]
39
- # os: [windows-2022]
40
39
rust : [stable, 1.71.0]
41
- # rust: [stable]
42
40
test : ['std', 'no-std', 'examples']
43
- # test: ['std']
44
41
include :
45
42
- cache : stable
46
43
rust : stable
54
51
rust : stable
55
52
test : std
56
53
- os : windows-2022
54
+ # powershell format
57
55
wgpu-flags : ' $env:DISABLE_WGPU = "1";'
58
- auto-graphics-backend-flags : AUTO_GRAPHICS_BACKEND=dx12
56
+ # not used yet, as wgpu tests are disabled on windows for now
57
+ # see issue: https://github.com/tracel-ai/burn/issues/1062
58
+ # auto-graphics-backend-flags: '$env:AUTO_GRAPHICS_BACKEND = "dx12";'
59
59
exclude :
60
60
# only need to check this once
61
61
- rust : 1.71.0
@@ -172,18 +172,6 @@ jobs:
172
172
- name : run checks & tests
173
173
run : ${{ matrix.coverage-flags }} ${{ matrix.wgpu-flags }} cargo xtask run-checks ${{ matrix.test }}
174
174
175
- - name : (temp) run burn_common tests
176
- shell : bash
177
- run : |
178
- cd burn-common
179
- cargo test
180
-
181
- # - name: (temp) run burn_wgpu tests
182
- # shell: bash
183
- # run: |
184
- # cd burn-wgpu
185
- # ${{ matrix.auto-graphics-backend-flags }} cargo test -- --nocapture
186
-
187
175
- name : Codecov upload
188
176
if : runner.os == 'Linux' && matrix.rust == 'stable' && matrix.test == 'std'
189
177
uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ fn select_adapter<G: GraphicsApi>(device: &WgpuDevice) -> wgpu::Adapter {
209
209
// often a Discrete Gpu.
210
210
DeviceType :: IntegratedGpu => 3 ,
211
211
DeviceType :: VirtualGpu => 2 ,
212
- DeviceType :: Cpu => 6 ,
212
+ DeviceType :: Cpu => 1 ,
213
213
} ;
214
214
215
215
if score > current_score {
You can’t perform that action at this time.
0 commit comments