diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 3abdb6e..8530de4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -20,6 +20,7 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: ilammy/msvc-dev-cmd@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: @@ -27,11 +28,18 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest pytest-cov + pip install setuptools wheel auditwheel scikit-build cmake cython pytest pytest-cov - name: Install package working-directory: ./FaCT++.Python run: | pip install -e . + - name: Build a wheel + run: | + python setup.py bdist_wheel + - name: Audit a wheel + if: runner.os == 'Linux' + run: | + auditwheel repair --plat manylinux_2_27_x86_64 dist/* - name: Test with pytest working-directory: ./FaCT++.Python run: |