Skip to content

Commit

Permalink
trying to fix stuff on wheel builds
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Jul 31, 2024
1 parent 9eb4fc4 commit 7d475f3
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ jobs:
compiler: gcc
version: 11

- name: Print-out commit information
run: |
echo "branch: ${{ github.event.inputs.branch }}"
echo "hash: ${{ github.sha }}"
echo "python-version: ${{ matrix.python[0] }} - ${{ matrix.python[1] }}"
- name: Build and test wheels
env:
CIBW_BUILD: cp${{ matrix.python[0] }}-${{ matrix.platform_id }}
Expand Down Expand Up @@ -171,18 +177,27 @@ jobs:
- name: Wait for testpypi to catch up
run: |
sleep 10
version=${GITHUB_REF#refs/*/v}
echo "SISL_VERSION=${version#refs/*/}" >> $GITHUB_ENV
ls -lh
- name: Install sisl + dependencies
- name: Install sisl + dependencies (oldest numpy, not ARM)
if: ${{ matrix.os }} != 'macos-14'
run: |
version=${GITHUB_REF#refs/*/v}
version=${version#refs/*/}
# Note oldest numpy test
python -m pip install \
python -m pip install -v \
--progress-bar=off \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple/ \
"sisl[test,viz]==${{ env.SISL_VERSION }}" "numpy<1.21"
- name: Install sisl + dependencies (arm)
if: ${{ matrix.os }} == 'macos-14'
run: |
python -m pip install -v \
--progress-bar=off \
--find-links dist \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple/ \
sisl[test,viz]==${version} "numpy<1.21"
"sisl[test,viz]==${{ env.SISL_VERSION }}"
- name: Test the installation
run: |
Expand Down

0 comments on commit 7d475f3

Please sign in to comment.