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
|
- name: Install Cross-Compilation Tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y mingw-w64
|
sudo apt-get install -y mingw-w64 zip
|
||||||
|
|
||||||
- name: Build Linux
|
- name: Build Linux
|
||||||
run: cargo build --release --target x86_64-unknown-linux-gnu
|
run: cargo build --release --target x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
- name: Build Windows
|
- name: Build Windows
|
||||||
run: cargo build --release --target x86_64-pc-windows-gnu
|
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
|
- name: Package Release Assets
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user