Fix string formatting for version in setup.py #26
Workflow file for this run
This file contains hidden or 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: Build package | |
| on: [push] | |
| jobs: | |
| build_wheel: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install build dependecies | |
| run: | | |
| sudo apt-get install -y libboost-dev libboost-system-dev libboost-filesystem-dev libxerces-c-dev swig | |
| - name: Build utm | |
| run: | | |
| python3 .github/build.py --install-prefix=${GITHUB_WORKSPACE}/dist | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install build wheel | |
| - name: Build wheel | |
| run: | | |
| export UTM_BASE=${GITHUB_WORKSPACE}/dist | |
| python -m build | |
| python -m pip install dist/*-linux_x86_64.whl |