diff --git a/.github/workflows/bongo-build.yml b/.github/workflows/bongo-build.yml new file mode 100644 index 0000000..36447d1 --- /dev/null +++ b/.github/workflows/bongo-build.yml @@ -0,0 +1,40 @@ +name: Build bongo + +on: + workflow_dispatch: + push: + branches: + - dev + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: + - "3.10" + - "3.11" + - "3.12" + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install build tooling + run: python -m pip install --upgrade pip build + + - name: Build bongo + run: python -m build + + - name: Upload distributions + uses: actions/upload-artifact@v4 + with: + name: bongo-dist-py${{ matrix.python-version }} + path: dist/*