From 7d887d58c5d015e1a2a47d2b51d874ff3c0de08d Mon Sep 17 00:00:00 2001 From: Robert de Vries Date: Wed, 15 Jul 2026 23:14:57 +0200 Subject: [PATCH] Add a windows build workflow. --- .github/workflows/python-app.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 3e0c0f3..8704218 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -97,3 +97,29 @@ jobs: run: uv run --no-sync python -c "from wolfcrypt.random import Random; Random()" - name: Run tests run: uv run --no-sync pytest tests + + build-windows: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v7 + - name: Set up Python 3.10 + uses: actions/setup-python@v6 + with: + python-version: "3.10" + - name: Install uv + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 + with: + # Install a specific version of uv. + version: "0.11.26" + - name: Build the wheel + run: uv build --wheel + - name: Install the project + run: uv sync --dev + - name: Perform static checks + run: uv run ruff check + - name: Run tests using the locally built wheel + run: | + uv pip install --reinstall dist/*.whl + uv run --no-sync pytest tests