Merge pull request 'install mingw gcc in ci' (#20) from mingw-gcc into main

Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/20
This commit is contained in:
Cyborus 2023-12-17 06:53:26 +00:00
commit 4d8a22c2a9

View file

@ -11,6 +11,7 @@ steps:
image: rust:latest image: rust:latest
commands: commands:
- rustup target add x86_64-pc-windows-gnu - rustup target add x86_64-pc-windows-gnu
- apt install gcc-mingw-w64-x86-64:w
- cargo build --target=x86_64-pc-windows-gnu --release - cargo build --target=x86_64-pc-windows-gnu --release
- strip target/x86_64-pc-windows-gnu/release/fj.exe - strip target/x86_64-pc-windows-gnu/release/fj.exe
zip: zip: