Skip to content

Commit

Permalink
use pip wheel to place wheel in dist, then pip install prior to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jun 10, 2024
1 parent 244b583 commit edc5119
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,25 +102,29 @@ jobs:
- name: Build and install macos-13
run: |
PATH="/usr/local/opt/llvm/bin:$PATH"
pipx run build --verbose
pip wheel . -w dist
pip install dist/*.whl
if: matrix.platform == 'macos-13'

- name: Build and install macos-14
run: |
PATH="/opt/homebrew/opt/llvm/bin:$PATH"
pipx run build --verbose
pip wheel . -w dist
pip install dist/*.whl
if: matrix.platform == 'macos-14'

- name: Build and install windows-latest
shell: msys2 {0}
run: |
pip install --verbose -Ccmake.define.CMAKE_C_COMPILER="clang.exe" -Ccmake.define.CMAKE_CXX_COMPILER="clang++.exe" .
pip wheel --verbose -Ccmake.define.CMAKE_C_COMPILER="clang.exe" -Ccmake.define.CMAKE_CXX_COMPILER="clang++.exe" . -w dist
pip install dist/*.whl
if: matrix.platform == 'windows-latest'

- name: Build and install ubuntu-latest
run: |
platform=linux
pipx run build --verbose
pip wheel . -w dist
pip install dist/*.whl
if: matrix.platform == 'ubuntu-latest'

- name: Test not windows
Expand Down

0 comments on commit edc5119

Please sign in to comment.