From 110afb6bb398b7b373fcca271514b91e1192d9a3 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 25 Jul 2024 17:50:36 -0400 Subject: [PATCH] add workflow for creating wheels --- .github/workflows/build-wheel.yml | 39 +++++++++++++++++++++++++++++++ poetry.lock | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build-wheel.yml diff --git a/.github/workflows/build-wheel.yml b/.github/workflows/build-wheel.yml new file mode 100644 index 0000000..bc5f7a9 --- /dev/null +++ b/.github/workflows/build-wheel.yml @@ -0,0 +1,39 @@ +name: Build Wheels + +on: + workflow_dispatch + # push: + # branches: [ master ] + +env: + PYTHONUTF8: 1 + +jobs: + build: + name: Build Wheels + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install Poetry + run: | + curl -sSL https://install.python-poetry.org | python3 - + export PATH="$HOME/.local/bin:$PATH" + + - name: Install dependencies + run: | + poetry install + + - name: Build wheels + run: | + poetry build + + - name: List built wheels + run: ls dist/ \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index 4c2a64f..e38b41a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3803,4 +3803,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.12" -content-hash = "dbbc8ce6948f85af93bb65b8ef98cfd38159352b7ffeb0abb171820eded72321" +content-hash = "2099b2bfa352d558842baa3ce75d934773dde290bac1f4923a0447d294888632"