fix drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
nyyu 2020-06-28 16:20:11 +02:00
parent f1262c675a
commit 0dd056bfa2

View file

@ -4,7 +4,11 @@ name: default
steps: steps:
- name: build - name: build
image: rustembedded/cross:x86_64-pc-windows-gnu image: rust:alpine
commands: commands:
- cross build --target x86_64-pc-windows-gnu --release - apk add --no-cache mingw-w64-gcc musl-dev
- mkdir ~/.cargo
- echo -e '[target.x86_64-pc-windows-gnu]\nlinker = "x86_64-w64-mingw32-gcc"\nar = "x86_64-w64-mingw32-gcc-ar"' > ~/.cargo/config
- rustup toolchain install stable-x86_64-pc-windows-gnu
- rustup target add x86_64-pc-windows-gnu
- cargo build --release --target x86_64-pc-windows-gnu