Compare commits

..

2 Commits

Author SHA1 Message Date
bcb69474f9 Should add the windows binaries to the release
Some checks failed
Build / Check (push) Successful in 27s
Build / Linux build (push) Failing after 30s
2026-03-20 12:41:05 -04:00
943f4def55 Cross compilation? 2026-03-20 12:37:55 -04:00

View File

@@ -21,17 +21,34 @@ jobs:
- name: Setup toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build debug
- name: Adding cross compiler
run: rustup target add x86_64-pc-windows-gnu
- name: Installing windows linker
run: sudo apt-get install mingw-w64 -y
- name: Build linux debug
run: cargo build
- name: Build release
- name: Build linux release
run: cargo build --release
- name: Renaming binaries
- name: Build windows debug
run: cargo build --target x86_64-pc-windows-gnu
- name: Build windows release
run: cargo build --release --target x86_64-pc-windows-gnu
- name: Renaming linux binaries
run: mv target/release/file-srv-gui-v3 file-srv-gui-v3-linux-amd64 && mv target/debug/file-srv-gui-v3 file-srv-gui-v3-linux-debug-amd64
- name: Renaming windows binaries
run: mv target/target/x86_64-pc-windows-gnu/release/file-srv-gui-v3.exe file-srv-gui-v3-win.exe && mv target/target/x86_64-pc-windows-gnu/debug/file-srv-gui-v3.exe file-srv-gui-v3-win-debug.exe
- uses: akkuman/gitea-release-action@v1
with:
files: |-
file-srv-gui-v3-linux-amd64
file-srv-gui-v3-linux-debug-amd64
file-srv-gui-v3-win.exe
file-srv-gui-v3-win-debug.exe