Skip to content

Fixed Python/SciPy compatibility issues, updated GitHub CI testing ma… #55

Fixed Python/SciPy compatibility issues, updated GitHub CI testing ma…

Fixed Python/SciPy compatibility issues, updated GitHub CI testing ma… #55

name: gmsvtoolkit-ci
on: push
jobs:
gmsvtoolkit-build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3,12" ]
steps:
- name: set GMSVTOOLKIT_DIR
run: echo "GMSVTOOLKIT_BASE_DIR=$RUNNER_WORKSPACE/gmsvtoolkit" >> $GITHUB_ENV
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: configure Python
run: |
sudo apt-get update
sudo apt-get install g++ -y
sudo apt-get install gfortran -y
pip install numpy
pip install scipy
pip install matplotlib
- name: checkout GMSVToolkit
uses: actions/checkout@v3
- name: build gmsvtoolkit
run: ./.github/scripts/gmsvtoolkit-build-ci.sh
shell: bash
- name: test GMSVToolkit
run: ./.github/scripts/gmsvtoolkit-test-ci.sh
shell: bash