Skip to content

Commit

Permalink
fix osx-build komodod CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DeckerSU committed Aug 20, 2024
1 parent 6393924 commit 0c42102
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/komodod_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,28 +77,40 @@ jobs:
osx-build:
name: OSX Build
if: ${{ github.event_name != 'workflow_dispatch' }}
runs-on: macos-latest
runs-on: macos-latest-large

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Workaround for https://github.com/actions/setup-python/issues/577
- name: Clean up binaries and links (macOS)
run: |
rm -f /usr/local/bin/2to3-3.*
rm -f /usr/local/bin/idle3.*
rm -f /usr/local/bin/pydoc3.*
rm -f /usr/local/bin/python3.*
rm -f /usr/local/bin/2to3
rm -f /usr/local/bin/idle3
rm -f /usr/local/bin/pydoc3
rm -f /usr/local/bin/python3
rm -f /usr/local/bin/python3-config
- name: Install deps (macOS)
run: |
rm '/usr/local/bin/2to3'
brew unlink node
brew update
brew upgrade || true
brew tap discoteq/discoteq; brew install flock
brew install autoconf autogen automake
brew install gcc@8
brew install binutils
brew install protobuf
brew install coreutils
brew install wget
brew install python3
brew install gmp
- name: Build (macOS)
run: |
./zcutil/build-mac.sh -j4
zip --junk-paths komodo-osx src/komodod src/komodo-cli
- name: Upload komodo-osx.zip as artifact
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 0c42102

Please sign in to comment.