Remove moved-or-outdated tests. #82
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CIBuildWheel | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
python-build: | |
name: Build Wheel | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Container | |
run: | | |
cd ${GITHUB_WORKSPACE}/docker/x86_64/manylinux2014 | |
./build.sh | |
- name: Install cibuildwheel | |
run: python -m pip install cibuildwheel | |
# Install inside the temporary working directory. | |
- name: Build Wheel | |
env: | |
TEMP_WORKSPACE: ${{ runner.temp }}/usr | |
run: | | |
cd ${GITHUB_WORKSPACE} | |
cibuildwheel --only $(python tools/pybuild.py) bindings/python | |
pip install ./wheelhouse/pysvs*.whl --target=${TEMP_WORKSPACE} | |
# Make sure to add the location of the generated wheel to the python path. | |
- name: Run Default Tests | |
env: | |
PYTHONPATH: ${{ runner.temp }}/usr | |
CTEST_OUTPUT_ON_FAILURE: 1 | |
working-directory: ${{ runner.temp }} | |
run: python -m unittest discover -s ${GITHUB_WORKSPACE}/bindings/python | |