From c8d367f028da13519bacd6fa51cf041635b4eeee 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 7bb890bf87..c85c08263c 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 @@ -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