Skip to content

Build updates (#474) #141

Build updates (#474)

Build updates (#474) #141

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-14]
build_type: [Release]
c_compiler: [clang]
python-version: ["3.12"]
include:
- os: ubuntu-latest
apt: 10
- os: macos-14
brew: 20
steps:
- uses: actions/checkout@v2
- if: ${{ matrix.apt }}
run: sudo apt-get install libhdf5-dev libgsl0-dev
- if: ${{ matrix.brew }}
run: |
brew install gsl
brew install hdf5
- name: Set up Python ${{ matrix.python-version }}
shell: bash
run: |
"${SHELL}" <(curl -L micro.mamba.pm/install.sh)
micromamba self-update
micromamba create -n moose python=${{ matrix.python-version }} graphviz lxml cmake numpy matplotlib vpython hdf5 pytables doxygen -c conda-forge
eval "$(micromamba shell hook --shell bash)"
micromamba activate moose
pip install python-libsbml
pip install pyneuroml
- name: Build
run: |
pip install .