fix(ci): patchelf linux binaries
Some checks failed
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Successful in 4m2s
Build Zenyx ⚡ / 🏗️ Build aarch64-apple-darwin (push) Failing after 8m30s
Build Zenyx ⚡ / 🏗️ Build x86_64-apple-darwin (push) Failing after 8m58s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Failing after 9m33s
Build Zenyx ⚡ / 🏗️ Build aarch64-pc-windows-msvc (push) Failing after 9m40s
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Failing after 6m17s
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Failing after 5m59s
Some checks failed
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Successful in 4m2s
Build Zenyx ⚡ / 🏗️ Build aarch64-apple-darwin (push) Failing after 8m30s
Build Zenyx ⚡ / 🏗️ Build x86_64-apple-darwin (push) Failing after 8m58s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Failing after 9m33s
Build Zenyx ⚡ / 🏗️ Build aarch64-pc-windows-msvc (push) Failing after 9m40s
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Failing after 6m17s
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Failing after 5m59s
This commit is contained in:
parent
25068a7679
commit
a157812529
1 changed files with 6 additions and 1 deletions
|
@ -80,10 +80,15 @@ jobs:
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
cp target/${{ matrix.target }}/release/zenyx${{ matrix.ext }} artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
cp target/${{ matrix.target }}/release/zenyx${{ matrix.ext }} artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
||||||
|
|
||||||
|
- name: 🛠️ Pathelf
|
||||||
|
if: ${{ matrix.target }} == x86_64-unknown-linux-gnu || ${{ matrix.target }} == aarch64-unknown-linux-gnu
|
||||||
|
run: |
|
||||||
|
nix run nixpkgs#patchelf -- --set-interpreter /lib64/ld-linux-x86-64.so.2 artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
||||||
|
|
||||||
- name: ⬆️ Upload artifact
|
- name: ⬆️ Upload artifact
|
||||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.binary_name }}${{ matrix.ext }}.zip
|
name: ${{ matrix.binary_name }}.zip
|
||||||
path: artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
path: artifacts/${{ matrix.binary_name }}${{ matrix.ext }}
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue