Skip to content

Commit

Permalink
Remove UPX from macOS build process
Browse files Browse the repository at this point in the history
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: upx/upx#612
  • Loading branch information
derrix060 committed Oct 18, 2024
1 parent eb19859 commit 3833c00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3833c00

Please sign in to comment.