Merge pull request 'do apt update' (#22) from mingw-gcc into main

Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/22
This commit is contained in:
Cyborus 2023-12-17 07:01:34 +00:00
commit 0d2240057d

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 update
- apt install gcc-mingw-w64-x86-64 -y - apt install gcc-mingw-w64-x86-64 -y
- 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