Skip to content
Snippets Groups Projects
Commit 8c685667 authored by tqtg's avatar tqtg
Browse files

install gcc for macos using homebrew

parent 70f2ea0b
No related branches found
No related tags found
No related merge requests found
......@@ -29,14 +29,15 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install GCC for MacOS using Homebrew
run: python -c "import os, platform; os.system('brew install gcc | brew link gcc') if 'darwin' in platform.platform().lower() else print(platform.platform())"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --only-binary=numpy,scipy numpy scipy wheel
- name: Build package
run: |
python setup.py sdist
python setup.py bdist_wheel
python setup.py sdist bdist_wheel
rm dist/*.egg
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment