Skip to content

nix: support cython bindings #123

nix: support cython bindings

nix: support cython bindings #123

Workflow file for this run

name: CI of Eigen3ToPython
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
build-type: [Debug, RelWithDebInfo]
exclude:
# No Debug build in Windows
- os: windows-latest
build-type: Debug
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: jrl-umi3218/github-actions/install-dependencies@master
with:
build-type: ${{ matrix.build-type }}
ubuntu: |
apt: cython cython3 python-numpy python3-numpy python-coverage python3-coverage python-setuptools python3-setuptools python-pytest python3-pytest libeigen3-dev
macos: |
brew: eigen
pip: Cython coverage nose numpy pytest setuptools
windows: |
pip: Cython coverage nose numpy pytest
github:
- path: eigenteam/eigen-git-mirror
ref: 3.3.7
- name: Build and test
uses: jrl-umi3218/github-actions/build-cmake-project@master
with:
build-type: ${{ matrix.build-type }}
env:
ARCHFLAGS: "-arch arm64"
- name: Slack Notification
if: failure()
uses: archive/github-actions-slack@master
with:
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_TOKEN }}
slack-channel: '#ci'
slack-text: >
Build *${{ matrix.os }}/${{ matrix.build-type }}* failed on ${{ github.ref }}
check:
if: always()
name: check-build
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}