Skip to content

Commit

Permalink
starting to clean up working build, and skipping pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
gbomarito committed Oct 28, 2024
1 parent 89bb0a1 commit aead88b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python 3.12
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.12
python-version: "3.x"
- name: Install MPI
uses: mpi4py/setup-mpi@v1
- name: Build using pip
Expand All @@ -33,19 +33,19 @@ jobs:
mv bingo_full bingo
deploy:
source-build:
needs: pip_build
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python 3.12
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.12
python-version: "3.x"
- name: Install MPI
uses: mpi4py/setup-mpi@v1
- name: Install dependencies
Expand Down Expand Up @@ -109,8 +109,6 @@ jobs:
# path: dist/

- uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: auto universal2

- name: Verify clean directory
run: git diff --exit-code
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ requires = [
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
before-all = "yum install -y python-devel"
skip = "pp*"

0 comments on commit aead88b

Please sign in to comment.