From 910efa1f3b5b9009abe5c88e29da3c2121d5e039 Mon Sep 17 00:00:00 2001 From: Mario Apra Date: Fri, 18 Oct 2024 10:44:26 +0100 Subject: [PATCH] Remove UPX from macOS build process Updated the GitHub Actions workflow to exclude UPX installation and usage on macOS. This change addresses compatibility issues with UPX on macOS, ensuring smoother build processes for macOS environments. More info: https://github.com/upx/upx/issues/612 --- .github/workflows/build-binaries.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 26ca44084e..598389e1a9 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -41,7 +41,7 @@ jobs: - name: Install dependencies (macOS) if: runner.os == 'macOS' - run: brew install upx cargo-c jemalloc + run: brew install cargo-c jemalloc - name: Set up Go uses: actions/setup-go@v5.0.2 @@ -51,7 +51,9 @@ jobs: - name: Build Juno run: | make juno - upx build/juno + if [[ "${{ runner.os }}" != "macOS" ]]; then + upx build/juno + fi mv build/juno ${{ env.ARTIFACT_NAME }} - name: Generate Checksum