Skip to content

Test with specifying libcxx version #275

Test with specifying libcxx version

Test with specifying libcxx version #275

Workflow file for this run

name: Build and upload to PyPI
on:
push:
# tags:
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
# release:
# types:
# - [published]
jobs:
build_wheels:
name: Arch ${{ matrix.arch }} Boost ${{ matrix.boost_version }} b2 ${{ matrix.b2_version }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
arch: ['ppc64le', 'x86_64']
boost_version: ['1.75.0', '1.76.0']
b2_version: ['4.10.1']
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
with:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BUILD_FRONTEND: build
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_ENVIRONMENT: APNGASM_COMPILE_TARGET="${{ matrix.arch }}"
BOOST_VERSION="${{ matrix.boost_version }}"
B2_VERSION="${{ matrix.b2_version }}"
CIBW_BUILD: "cp38-manylinux_*"
# - uses: actions/upload-artifact@v3
# with:
# path: ./wheelhouse/*.whl
# build_sdist:
# name: Build source distribution
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: recursive
# - name: Build sdist
# run: pipx run build --sdist
# - uses: actions/upload-artifact@v3
# with:
# path: dist/*.tar.gz
# upload_pypi_test:
# needs: [build_wheels, build_sdist]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/download-artifact@v3
# with:
# # unpacks default artifact into dist/
# # if `name: artifact` is omitted, the action will create extra parent dir
# name: artifact
# path: dist
# - uses: pypa/gh-action-pypi-publish@v1.5.0
# with:
# user: __token__
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
# upload_pypi:
# needs: [build_wheels, build_sdist]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/download-artifact@v3
# with:
# # unpacks default artifact into dist/
# # if `name: artifact` is omitted, the action will create extra parent dir
# name: artifact
# path: dist
# - uses: pypa/gh-action-pypi-publish@v1.5.0
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}