fix: configure cross with Cross.toml
This commit is contained in:
parent
26529a0796
commit
84d9e50f6b
3 changed files with 12 additions and 5 deletions
|
@ -14,7 +14,7 @@ jobs:
|
|||
- x86_64-unknown-linux-gnu
|
||||
- aarch64-unknown-linux-gnu
|
||||
- x86_64-pc-windows-gnu
|
||||
- aarch64-apple-darwin
|
||||
# - aarch64-apple-darwin
|
||||
include:
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
binary_name: zenyx-x86_64-linux
|
||||
|
@ -25,9 +25,9 @@ jobs:
|
|||
- target: x86_64-pc-windows-gnu
|
||||
binary_name: zenyx-x86_64-windows.exe
|
||||
ext: ".exe"
|
||||
- target: aarch64-apple-darwin
|
||||
binary_name: zenyx-aarch64-apple
|
||||
ext: ""
|
||||
# - target: aarch64-apple-darwin
|
||||
# binary_name: zenyx-aarch64-apple
|
||||
# ext: ""
|
||||
|
||||
steps:
|
||||
- name: 📥 Checkout source
|
||||
|
@ -62,7 +62,7 @@ jobs:
|
|||
- name: 🚀 Build with cross
|
||||
uses: https://github.com/actions-rs/cargo@v1
|
||||
env:
|
||||
CROSS_CONTAINER_IN_CONTAINER: true
|
||||
CROSS_CONTAINER_IN_CONTAINER : true
|
||||
with:
|
||||
use-cross: true
|
||||
command: build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue