Skip to content

Update for 1.21

Update for 1.21 #39

Workflow file for this run

name: Stable
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
abi: [cp38, cp39, cp310, cp311]
steps:
- uses: actions/checkout@v3
- name: Build
run: |
docker pull openturns/manylinux2014_x86_64
docker run --rm -e MAKEFLAGS='-j2' -v `pwd`:/io openturns/manylinux2014_x86_64 /io/build-wheels-linux.sh v1.21 ${{ matrix.abi }}
- uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
activate-environment: ""
- name: Upload
if: startsWith(github.ref, 'refs/tags/')
shell: bash -l {0}
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
conda install -y twine
twine upload --non-interactive wheelhouse/*.whl
mingw:
runs-on: ubuntu-latest
strategy:
matrix:
abi: [cp38, cp39, cp310, cp311]
steps:
- uses: actions/checkout@v3
- name: Build
run: |
docker pull openturns/archlinux-mingw
docker run --rm -e MAKEFLAGS='-j2' -v `pwd`:/io openturns/archlinux-mingw /io/build-wheels-mingw.sh v1.21 ${{ matrix.abi }}
- uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
activate-environment: ""
- name: Upload
if: startsWith(github.ref, 'refs/tags/')
shell: bash -l {0}
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
conda install -y twine
twine upload --non-interactive wheelhouse/*.whl
macos:
runs-on: macos-latest
strategy:
matrix:
abi: [cp38, cp39, cp310, cp311]
steps:
- uses: actions/checkout@v3
- name: Build
env:
MAKEFLAGS: -j3
run: ./build-wheels-macos.sh v1.21 ${{ matrix.abi }}
- id: getfilename
run: echo "::set-output name=file::$(ls wheelhouse/*.whl)"
- name: Archive wheel
uses: actions/upload-artifact@v2
with:
name: wheel
path: ${{ steps.getfilename.outputs.file }}
- uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
activate-environment: ""
- name: Upload
if: startsWith(github.ref, 'refs/tags/')
shell: bash -l {0}
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
conda install -y twine
twine upload --non-interactive wheelhouse/*.whl