Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix osx-build komodod CD workflow #625

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading