Skip to content

Commit

Permalink
Merge pull request #48 from MobilityDB/develop
Browse files Browse the repository at this point in the history
Fix python version in build wheels step of build workflow and disable all PyPy builds and tests
  • Loading branch information
Diviloper authored Apr 15, 2024
2 parents d25f657 + a2bb93f commit 12852e6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_pymeos_cffi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
name: Build PyMEOS CFFI for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-13, macos-14 ]
include:
Expand Down Expand Up @@ -87,7 +86,6 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: "pip"

- name: Install cibuildwheel
Expand All @@ -114,10 +112,10 @@ jobs:
export PACKAGE_DATA=1
python -m cibuildwheel --output-dir wheelhouse
env:
# Disable PyPy builds on Linux since shapely has no built distributions for them
# Disable PyPy builds
# Disable builds on musllinux
# Disable builds in linux architectures other than x86_64
CIBW_SKIP: "pp*-manylinux* *musllinux*"
CIBW_SKIP: "pp* *musllinux*"
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ENVIRONMENT_PASS_LINUX: PACKAGE_DATA LD_LIBRARY_PATH PROJ_DATA
CIBW_BEFORE_ALL_LINUX: >
Expand All @@ -137,7 +135,8 @@ jobs:
make -j &&
make install
CIBW_TEST_COMMAND: "python -c \"from pymeos_cffi import meos_initialize, meos_finalize; meos_initialize('UTC'); meos_finalize()\""
# Skip tests since they will be thoroughly tested in the next job
CIBW_TEST_SKIP: "*"

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -219,4 +218,4 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: ./dist/*
files: ./dist/*

0 comments on commit 12852e6

Please sign in to comment.