Build Motion Controller #46
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 Motion Controller | |
| on: | |
| workflow_dispatch: | |
| env: | |
| FORCE_COLOR: 1 | |
| jobs: | |
| build: | |
| name: Build Motion Controller | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Install the project | |
| working-directory: ./src/motioncontrol | |
| run: uv sync --all-extras --dev | |
| - name: Building... | |
| working-directory: ./src/motioncontrol/src/motioncontrol | |
| run: uv run pyinstaller main.spec | |
| - name: Upload binary | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Motion Controller | |
| path: src/motioncontrol/src/motioncontrol/dist/motioncontrol/ |