Skip to content

Commit

Permalink
use bash shell to execute commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ravnoor committed Dec 22, 2023
1 parent 48879fd commit 71b5cea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/wheels-macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: false
activate-environment: ${{ matrix.python }}
activate-environment: py${{ matrix.cibw_python }}
miniforge-variant: Mambaforge
miniforge-version: latest
channels: conda-forge
channel-priority: true
python-version: ${{ matrix.python }}

- name: Dependencies
- name: Install dependencies
shell: bash -l {0}
run: |
# Workaround for https://github.com/conda-incubator/setup-miniconda/issues/186
Expand All @@ -73,18 +73,21 @@ jobs:
mamba install cmake ninja libpng
- name: Install cibuildwheel and other build tools
shell: bash -l {0}
run: |
python -m pip install --upgrade build pip twine
python -m pip install cibuildwheel==2.16.2 jq pipx setuptools
python -m pipx ensurepath
- name: Get package name and version (Linux / Mac)
shell: bash -l {0}
if: ${{ ! startsWith(matrix.os, 'windows-') }}
run: |
echo PACKAGE_NAME=$( python setup.py --name ) >> $GITHUB_ENV
echo PACKAGE_VERSION=$( python setup.py --version ) >> $GITHUB_ENV
- name: Build and test wheels
shell: bash -l {0}
env:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
Expand Down

0 comments on commit 71b5cea

Please sign in to comment.