ci: fix linker and add zip for cross-compilation
Some checks failed
Build and Release / Build All Platforms (push) Failing after 14s
Some checks failed
Build and Release / Build All Platforms (push) Failing after 14s
This commit is contained in:
@@ -21,13 +21,15 @@ jobs:
|
||||
- name: Install Cross-Compilation Tools
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y mingw-w64
|
||||
sudo apt-get install -y mingw-w64 zip
|
||||
|
||||
- name: Build Linux
|
||||
run: cargo build --release --target x86_64-unknown-linux-gnu
|
||||
|
||||
- name: Build Windows
|
||||
run: cargo build --release --target x86_64-pc-windows-gnu
|
||||
env:
|
||||
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER: x86_64-w64-mingw32-gcc
|
||||
|
||||
- name: Package Release Assets
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user