GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pytest with slycot from source · python-control/python-control@6ff2e9b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • control-slycot-src.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/control-slycot-src.yml‎

Copy file name to clipboard
+36Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Slycot from source
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-linux:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up Python
12+
uses: actions/setup-python@v2
13+
- name: Install Python dependencies
14+
run: |
15+
# Set up conda
16+
echo $CONDA/bin >> $GITHUB_PATH
17+
18+
# Install test tools
19+
conda install pip pytest
20+
21+
# Install python-control dependencies
22+
conda install numpy matplotlib scipy
23+
24+
- name: Install slycot from source
25+
run: |
26+
# Install compilers, libraries, and development environment
27+
sudo apt-get -y install gfortran cmake --fix-missing
28+
sudo apt-get -y install libblas-dev liblapack-dev
29+
conda install -c conda-forge scikit-build;
30+
31+
# Compile and install slycot
32+
git clone https://github.com/python-control/Slycot.git slycot
33+
cd slycot; python setup.py build_ext install -DBLA_VENDOR=Generic
34+
35+
- name: Test with pytest
36+
run: pytest control/tests

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.