CGGItemSets/.drone.yml
nyyu 0dd056bfa2
Some checks failed
continuous-integration/drone/push Build is failing
fix drone
2020-06-28 17:59:27 +02:00

14 lines
455 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: rust:alpine
commands:
- 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