Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add fast sniff build
  • Loading branch information
bnavigator committed Jan 24, 2021
commit 2a6a98fa9533ab2ec088db7a342538b22c67594f
23 changes: 23 additions & 0 deletions .github/workflows/slycot-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,31 @@ on:

jobs:

build-setup:
# Super fast sniff build. If this fails, don't start the other jobs
name: Build setup.py on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout Slycot
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
- name: Setup Ubuntu
run: |
sudo apt-get -y install gfortran cmake --fix-missing
sudo apt-get -y install libblas-dev liblapack-dev
pip install scikit-build numpy scipy pytest
- name: Install Slycot
run: python setup.py install
- name: Run tests
run: pytest

build-pip:
name: Build pip Py${{ matrix.python }}, ${{ matrix.os }}, ${{ matrix.bla_vendor}} BLA_VENDOR
runs-on: ${{ matrix.os }}-latest
needs: build-setup
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -100,6 +122,7 @@ jobs:
build-conda:
name: Build conda Py${{ matrix.python }}, ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
needs: build-setup
strategy:
fail-fast: false
matrix:
Expand Down