Skip to content

build library and also Python wheels in CI #6

build library and also Python wheels in CI

build library and also Python wheels in CI #6

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- master
release:
types:
- released
workflow_dispatch:
jobs:
python-wheels:
strategy:
matrix:
runs-on:
- ubuntu-latest
# macos-13 is an intel runner, macos-14 is apple silicon
- macos-13
- macos-latest
fail-fast: false
runs-on: ${{ matrix.runs-on }}
steps:
- uses: zacharyburnett/setup-abseil-cpp@0726e9b923aa0dc53cdbe9f1c649260160838dc1 # 1.0.0
with:
cmake-build-args: "-DCMAKE_CXX_STANDARD=17 -DABSL_PROPAGATE_CXX_STD=ON -DABSL_ENABLE_INSTALL=ON -DBUILD_TESTING=off -DCMAKE_POSITION_INDEPENDENT_CODE=ON"
abseil-version: "20240722.0"
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: wheel-s2geometry-${{ matrix.runs-on }}
path: ./wheelhouse/*.whl