From edc5119a21a99c7b40c5bac97704c98e940838c0 Mon Sep 17 00:00:00 2001 From: jcschaff Date: Mon, 10 Jun 2024 13:31:51 -0400 Subject: [PATCH] use pip wheel to place wheel in dist, then pip install prior to pytest --- .github/workflows/pip.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 9d2c253c..71a13409 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -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