File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,17 @@ jobs:
66
66
rust_toolchain : [nightly, stable]
67
67
rust_target :
68
68
- x86_64-pc-windows-gnu
69
- # Only 64 bit GCC is preinstalled
70
- # - i686-pc-windows-gnu
69
+ - i686-pc-windows-gnu
71
70
steps :
72
71
- uses : actions/checkout@v2
72
+ - name : Add MSYS2 to the PATH
73
+ run : echo "::add-path::c:/msys64/bin"
74
+ - name : Add 32-bit mingw-w64 to the PATH
75
+ run : echo "::add-path::c:/msys64/mingw32/bin"
76
+ if : startsWith(matrix.rust_target, 'i686')
77
+ - name : Add 64-bit mingw-w64 to the PATH
78
+ run : echo "::add-path::c:/msys64/mingw64/bin"
79
+ if : startsWith(matrix.rust_target, 'x86_64')
73
80
- name : Install Rust nightly
74
81
uses : actions-rs/toolchain@v1
75
82
with :
Original file line number Diff line number Diff line change @@ -48,10 +48,17 @@ jobs:
48
48
rust_toolchain : [nightly, stable]
49
49
rust_target :
50
50
- x86_64-pc-windows-gnu
51
- # Only 64 bit GCC is preinstalled
52
- # - i686-pc-windows-gnu
51
+ - i686-pc-windows-gnu
53
52
steps :
54
53
- uses : actions/checkout@v2
54
+ - name : Add MSYS2 to the PATH
55
+ run : echo "::add-path::c:/msys64/bin"
56
+ - name : Add 32-bit mingw-w64 to the PATH
57
+ run : echo "::add-path::c:/msys64/mingw32/bin"
58
+ if : startsWith(matrix.rust_target, 'i686')
59
+ - name : Add 64-bit mingw-w64 to the PATH
60
+ run : echo "::add-path::c:/msys64/mingw64/bin"
61
+ if : startsWith(matrix.rust_target, 'x86_64')
55
62
- name : Install Rust nightly
56
63
uses : actions-rs/toolchain@v1
57
64
with :
You can’t perform that action at this time.
0 commit comments