From 5cc5995912705098332f07904ae80e76425f8db8 Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Tue, 25 Oct 2022 10:45:59 +0200 Subject: [PATCH] chore(ci): do not strip for aarch64 --- .github/workflows/release.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9cccddc7..84db141a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,26 +16,26 @@ jobs: matrix: build: - linux musl x64 - #- linux musl aarch64 + - linux musl aarch64 - macos x64 - #- macos aarch64 + - macos aarch64 include: - build: linux musl x64 os: ubuntu-latest rust: stable target: x86_64-unknown-linux-musl - #- build: linux musl aarch64 - # os: ubuntu-latest - # rust: stable - # target: aarch64-unknown-linux-musl + - build: linux musl aarch64 + os: ubuntu-latest + rust: stable + target: aarch64-unknown-linux-musl - build: macos x64 os: macos-latest rust: stable target: x86_64-apple-darwin - #- build: macos aarch64 - # os: macos-latest - # rust: stable - # target: aarch64-apple-darwin + - build: macos aarch64 + os: macos-latest + rust: stable + target: aarch64-apple-darwin steps: - name: Set release tag run: | @@ -85,7 +85,9 @@ jobs: - name: Build release binary 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 + if: runner.target != 'aarch64-unknown-linux-musl' && runner.target != 'aarch64-apple-darwin' run: strip "target/${{ matrix.target }}/release/zellij" - name: Create checksum