chore(ci): do not strip for aarch64

This commit is contained in:
Aram Drevekenin 2022-10-25 10:45:59 +02:00 committed by GitHub
parent 339eacce99
commit 5cc5995912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,26 +16,26 @@ jobs:
matrix: matrix:
build: build:
- linux musl x64 - linux musl x64
#- linux musl aarch64 - linux musl aarch64
- macos x64 - macos x64
#- macos aarch64 - macos aarch64
include: include:
- build: linux musl x64 - build: linux musl x64
os: ubuntu-latest os: ubuntu-latest
rust: stable rust: stable
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-musl
#- build: linux musl aarch64 - build: linux musl aarch64
# os: ubuntu-latest os: ubuntu-latest
# rust: stable rust: stable
# target: aarch64-unknown-linux-musl target: aarch64-unknown-linux-musl
- build: macos x64 - build: macos x64
os: macos-latest os: macos-latest
rust: stable rust: stable
target: x86_64-apple-darwin target: x86_64-apple-darwin
#- build: macos aarch64 - build: macos aarch64
# os: macos-latest os: macos-latest
# rust: stable rust: stable
# target: aarch64-apple-darwin target: aarch64-apple-darwin
steps: steps:
- name: Set release tag - name: Set release tag
run: | run: |
@ -85,7 +85,9 @@ jobs:
- name: Build release binary - name: Build release binary
run: cargo make ci-build-release ${{ matrix.target }} run: cargo make ci-build-release ${{ matrix.target }}
# there currently seems to be an issue with strip in aarch64, TODO: investigate this
- name: Strip release binary - name: Strip release binary
if: runner.target != 'aarch64-unknown-linux-musl' && runner.target != 'aarch64-apple-darwin'
run: strip "target/${{ matrix.target }}/release/zellij" run: strip "target/${{ matrix.target }}/release/zellij"
- name: Create checksum - name: Create checksum