-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c54a0b
commit 37f4c84
Showing
9 changed files
with
247 additions
and
331 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | ||
# curl from brew requires zstd, use system curl | ||
# if php is installed, brew tries to reinstall these after installing openblas | ||
brew remove --ignore-dependencies curl php | ||
|
||
brew install pkg-config | ||
|
||
if [[ "$PLAT" == "arm64" ]]; then | ||
export MACOSX_DEPLOYMENT_TARGET="11.0" | ||
else | ||
export MACOSX_DEPLOYMENT_TARGET="10.10" | ||
fi | ||
fi | ||
|
||
if [[ "$MB_PYTHON_VERSION" == pypy3* ]]; then | ||
MB_PYTHON_OSX_VER="10.9" | ||
fi | ||
|
||
echo "::group::Install a virtualenv" | ||
source multibuild/common_utils.sh | ||
source multibuild/travis_steps.sh | ||
python3 -m pip install virtualenv | ||
before_install | ||
echo "::endgroup::" | ||
|
||
echo "::group::Build wheel" | ||
clean_code | ||
build_wheel | ||
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/" | ||
echo "::endgroup::" | ||
|
||
if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then | ||
echo "::group::Test wheel" | ||
install_run | ||
echo "::endgroup::" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Lint | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
name: Lint | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" | ||
- uses: pre-commit/action@v3.0.0 |
Oops, something went wrong.