Skip to content

Version bump

Version bump #215

Workflow file for this run

name: GitHub CI
on:
push:
branches:
- main
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches:
- main
jobs:
conda_asan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: bash tools/gha_conda_asan.sh
conda_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# NOTE: this is needed by codecov
# apparently:
# https://github.com/codecov/codecov-action/issues/190
fetch-depth: 2
- name: Build
run: bash tools/gha_conda_coverage.sh
#manylinux228-py311:
# runs-on: ubuntu-latest
# container:
# image: pagmo2/manylinux228_x86_64_with_deps:latest
# env:
# CASCADE_PY_BUILD_TYPE: "Python311"
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# steps:
# - uses: actions/checkout@v3
# - name: Build
# run: bash tools/gha_manylinux.sh
#manylinux228-py310:
# runs-on: ubuntu-latest
# container:
# image: pagmo2/manylinux228_x86_64_with_deps:latest
# env:
# CASCADE_PY_BUILD_TYPE: "Python310"
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# steps:
# - uses: actions/checkout@v3
# - name: Build
# run: bash tools/gha_manylinux.sh
#manylinux228-py39:
# runs-on: ubuntu-latest
# container:
# image: pagmo2/manylinux228_x86_64_with_deps:latest
# env:
# CASCADE_PY_BUILD_TYPE: "Python39"
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# steps:
# - uses: actions/checkout@v3
# - name: Build
# run: bash tools/gha_manylinux.sh
#manylinux228-py38:
# runs-on: ubuntu-latest
# container:
# image: pagmo2/manylinux228_x86_64_with_deps:latest
# env:
# CASCADE_PY_BUILD_TYPE: "Python38"
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# steps:
# - uses: actions/checkout@v3
# - name: Build
# run: bash tools/gha_manylinux.sh
windows_2019:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: cascade_devel
environment-file: cascade_devel.yml
auto-update-conda: true
channels: conda-forge
channel-priority: strict
auto-activate-base: false
- name: Build
shell: pwsh
run: |
mkdir build
cd build
cmake ../ -G "Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX=C:\Miniconda\envs\cascade_devel\Library -DCASCADE_BUILD_TESTS=yes -DBoost_NO_BOOST_CMAKE=ON -DCASCADE_BUILD_PYTHON_BINDINGS=yes
cmake --build . -j4 --config Release --target install
ctest -j4 -V -C Release
cd c:\
python -c "from cascade import test; test.run_test_suite()"
osx_11:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: Build
run: bash tools/gha_conda_osx.sh
build-and-deploydocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install and Build 🔧
run: bash tools/gha_deploydocs.sh
- name: Upload to github pages 🚀
if: ${{ github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: doc/_build/html # The folder the action should deploy.