File tree Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5454 - name : Test
5555 run : cargo test --no-default-features
5656
57+ test-windows :
58+ name : Test on Windows
59+ runs-on : windows-latest
60+ steps :
61+ # The Windows runners have autocrlf enabled by default
62+ # which causes failures for some of rustfmt's line-ending sensitive tests
63+ - name : disable git eol translation
64+ run : git config --global core.autocrlf false
65+ - name : checkout
66+ uses : actions/checkout@v3
67+ - name : Install Rustup using win.rustup.rs
68+ run : |
69+ # Disable the download progress bar which can cause perf issues
70+ $ProgressPreference = "SilentlyContinue"
71+ Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
72+ .\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --default-toolchain=none
73+ del rustup-init.exe
74+ rustup target add x86_64-pc-windows-msvc
75+ shell : powershell
76+ - name : Build and Test
77+ shell : cmd
78+ run : ci\build_and_test.bat
You can’t perform that action at this time.
0 commit comments