Update .forgejo/workflows/build-release.yml
Some checks failed
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Successful in 2m49s
Build Zenyx ⚡ / 🏗️ Build aarch64-apple-darwin (push) Waiting to run
Build Zenyx ⚡ / 🏗️ Build x86_64-apple-darwin (push) Waiting to run
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Has been cancelled
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / 🏗️ Build aarch64-pc-windows-msvc (push) Has been cancelled
Some checks failed
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Successful in 2m49s
Build Zenyx ⚡ / 🏗️ Build aarch64-apple-darwin (push) Waiting to run
Build Zenyx ⚡ / 🏗️ Build x86_64-apple-darwin (push) Waiting to run
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Has been cancelled
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Has been cancelled
Build Zenyx ⚡ / 🏗️ Build aarch64-pc-windows-msvc (push) Has been cancelled
This commit is contained in:
parent
1c767592c6
commit
1b20b1478e
1 changed files with 9 additions and 3 deletions
|
@ -29,39 +29,45 @@ jobs:
|
|||
target:
|
||||
- x86_64-unknown-linux-gnu
|
||||
- x86_64-pc-windows-msvc
|
||||
# - x86_64-apple-darwin
|
||||
- x86_64-apple-darwin
|
||||
- aarch64-unknown-linux-gnu
|
||||
- aarch64-pc-windows-msvc
|
||||
# - aarch64-apple-darwin
|
||||
- aarch64-apple-darwin
|
||||
include:
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
binary_name: zenyx-x86_64-linux
|
||||
ext: ""
|
||||
linker: /lib64/ld-linux-x86-64.so.2
|
||||
command: zigbuild
|
||||
args: --target x86_64-unknown-linux-gnu --release
|
||||
- target: aarch64-unknown-linux-gnu
|
||||
binary_name: zenyx-aarch64-linux
|
||||
ext: ""
|
||||
linker: /lib/ld-linux-aarch64.so.1
|
||||
command: zigbuild
|
||||
args: --target aarch64-unknown-linux-gnu --release
|
||||
- target: x86_64-pc-windows-msvc
|
||||
binary_name: zenyx-x86_64-windows
|
||||
ext: ".exe"
|
||||
linker: ""
|
||||
command: xwin build
|
||||
args: --target x86_64-pc-windows-msvc --release
|
||||
- target: aarch64-pc-windows-msvc
|
||||
binary_name: zenyx-aarch64-windows
|
||||
ext: ".exe"
|
||||
linker: ""
|
||||
command: xwin build
|
||||
args: --target aarch64-pc-windows-msvc --release
|
||||
#- target: x86_64-apple-darwin
|
||||
# binary_name: zenyx-x86_64-macos
|
||||
# ext: ""
|
||||
# linker: ""
|
||||
#command: zigbuild
|
||||
#args: --target x86_64-apple-darwin --release
|
||||
#target: aarch64-apple-darwin
|
||||
#binary_name: zenyx-aarch64-macos
|
||||
#ext: ""
|
||||
#linker: ""
|
||||
#command: zigbuild
|
||||
#args: --target aarch64-apple-darwin --release
|
||||
|
||||
|
@ -86,7 +92,7 @@ jobs:
|
|||
matrix.target == 'aarch64-unknown-linux-gnu'
|
||||
}}
|
||||
run: |
|
||||
nix run --extra-experimental-features nix-command --extra-experimental-features flakes nixpkgs#patchelf -- --set-interpreter /lib64/ld-linux-x86-64.so.2 \
|
||||
nix run --extra-experimental-features nix-command --extra-experimental-features flakes nixpkgs#patchelf ${{ matrix.linker }} -- --set-interpreter "" \
|
||||
artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
||||
|
||||
- name: ⬆️ Upload artifact
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue