File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -106,4 +106,25 @@ jobs:
106
106
- uses : actions/upload-artifact@v2
107
107
with :
108
108
name : espflash
109
- path : target/x86_64-unknown-linux-musl/release/espflash
109
+ path : target/x86_64-unknown-linux-musl/release/espflash
110
+
111
+ build-windows :
112
+ name : Build Static Windows Binaries
113
+ runs-on : ubuntu-latest
114
+
115
+ steps :
116
+ - uses : actions/checkout@v2
117
+ - uses : actions-rs/toolchain@v1
118
+ with :
119
+ toolchain : stable
120
+ target : x86_64-pc-windows-gnu
121
+ - uses : Swatinem/rust-cache@v1
122
+ - uses : actions-rs/cargo@v1
123
+ with :
124
+ use-cross : true
125
+ command : build
126
+ args : --release --bin espflash --target x86_64-pc-windows-gnu
127
+ - uses : actions/upload-artifact@v2
128
+ with :
129
+ name : espflash.exe
130
+ path : target/x86_64-pc-windows-gnu/release/espflash.exe
You can’t perform that action at this time.
0 commit comments