Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lidongze0629 committed Sep 27, 2024
1 parent 98f44ee commit 5317169
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/build-graphscope-wheels-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ concurrency:
jobs:
build-wheels:
# if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.event_name == 'workflow_dispatch')
runs-on: macos-13
runs-on: macos-12
strategy:
matrix:
python-version: ['3.9']
Expand All @@ -47,11 +47,17 @@ jobs:
python3 -c 'import sys; print(sys.version_info[:])'
brew update || true
brew install bash coreutils
alias bash=$(brew --prefix)/bin/bash
export PATH=$HOME/.local/bin:$HOME/Library/Python/${{ matrix.python-version }}/bin:$PATH
python3 -m pip install click
python3 gsctl.py install-deps dev
# brew install bash coreutils
echo "export PATH=/usr/local/opt/coreutils/libexec/gnubin:\$PATH" >> ~/.graphscope_env
# brew install bash coreutils
# alias bash=$(brew --prefix)/bin/bash
# export PATH=$HOME/.local/bin:$HOME/Library/Python/${{ matrix.python-version }}/bin:$PATH
Expand All @@ -64,7 +70,6 @@ jobs:
# python3 -m pip install click
# python3 gsctl.py install-deps dev
# python3 gsctl.py install-deps dev || true
# python3 gsctl.py install-deps dev
# echo "export PATH=/usr/local/opt/coreutils/libexec/gnubin:\$PATH" >> ~/.graphscope_env
- name: Install JDK 11
Expand All @@ -74,7 +79,7 @@ jobs:
java-version: '11'

- name: Reinstall glog
if: false
if: true
run: |
# Essential cause glog installed by brew is broken and produce corrupted messages
brew uninstall --ignore-dependencies glog
Expand Down Expand Up @@ -125,7 +130,7 @@ jobs:
# make sure the python's local bin is in PATH (by `pip install --user`)
# TODO /Library/Frameworks/Python.framework/Versions/3.12/bin
# export PATH=$HOME/.local/bin:$HOME/Library/Python/${{ matrix.python-version }}/bin:$PATH
export PATH=$HOME/.local/bin:$HOME/Library/Python/${{ matrix.python-version }}/bin:$PATH
# change the version for nightly release
# e.g. 0.15.0 -> 0.15.0a20220808
Expand Down Expand Up @@ -159,7 +164,7 @@ jobs:

build-client-wheels:
# if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.event_name == 'workflow_dispatch')
runs-on: macos-13
runs-on: macos-12
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
Expand All @@ -177,13 +182,13 @@ jobs:
- name: Install Dependencies
run: |
brew update || true
# brew install bash coreutils
# alias bash=$(brew --prefix)/bin/bash
brew install bash coreutils
alias bash=$(brew --prefix)/bin/bash
# sudo mkdir /opt/graphscope
# sudo chown -R $(id -u):$(id -g) /opt/graphscope
python3 -m pip install click
# python3 gsctl.py install-deps dev || true
python3 gsctl.py install-deps dev || true
python3 gsctl.py install-deps dev
- name: Install latest libgrape-lite
Expand Down Expand Up @@ -218,7 +223,7 @@ jobs:
. ~/.graphscope_env
# make sure the python's local bin is in PATH (by `pip install --user`)
# export PATH=$HOME/.local/bin:$HOME/Library/Python/${{ matrix.python-version }}/bin:$PATH
export PATH=$HOME/.local/bin:$HOME/Library/Python/${{ matrix.python-version }}/bin:$PATH
# change the version for nightly release
# 0.15.0 -> 0.15.0a20220808
Expand Down

0 comments on commit 5317169

Please sign in to comment.