Skip to content

Commit

Permalink
add build wheel ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bobleesj committed Oct 6, 2024
1 parent b5464db commit e4a648d
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: release

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
release:
types:
- published

jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: hynek/build-and-inspect-python-package@v2

publish:
needs: [dist]
environment: testpypi
permissions:
id-token: write
attestations: write
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist

- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@v1.4.3
with:
subject-path: "dist/*"

- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
7 changes: 7 additions & 0 deletions requirements/conda.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
gemmi
matplotlib-base
numpy
pyvista
scipy
setuptools
click
File renamed without changes.

0 comments on commit e4a648d

Please sign in to comment.