Updating branch 'master' into updateExprTK #136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python package | |
on: [push] | |
jobs: | |
build: | |
name : Python Package | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8, 3.9, '3.10',3.11,3.12] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
export DEBIAN_FRONTEND=noninteractive | |
sudo -E apt clean | |
sudo -E apt update | |
sudo -E apt install -y cmake libgsl-dev g++ gcc git | |
sudo -E apt install python3-tk | |
sudo -E apt install -y libhdf5-dev doxygen | |
python -m pip install numpy matplotlib vpython --user | |
- name: Build | |
run: | | |
pip install . |