Skip to content

Commit

Permalink
github/ci: making python build in core CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Jul 13, 2024
1 parent 5dbed97 commit 942dc97
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 65 deletions.
42 changes: 33 additions & 9 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
if: runner.os == 'macos'
run: |
brew update
brew install autoconf automake pybind11 virtualenv
brew install autoconf automake
- name: Setup environment (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y --no-install-recommends build-essential pybind11-dev virtualenv python3-dev
sudo apt-get install -y --no-install-recommends build-essential
#- name: Setup libfec
# run: git clone https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install
Expand All @@ -41,13 +41,6 @@ jobs:
- name: make
run: make -j 2

- name: make check-doc
run: |
python3 -m venv /tmp/liquid
source /tmp/liquid/bin/activate
pip install pybind11 numpy matplotlib
make check-doc
- name: make check
run: make -j 2 check

Expand All @@ -60,3 +53,34 @@ jobs:

- name: make check-link
run: make check-link

python:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest]

name: "💦 ${{ matrix.runs-on }}"
runs-on: ${{ matrix.runs-on }}
needs: standard

steps:
- name: Setup environment (macOS)
if: runner.os == 'macos'
run: |
brew update
brew install pybind11 virtualenv
- name: Setup environment (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y --no-install-recommends pybind11-dev virtualenv python3-dev
- name: python
run: |
python3 -m venv /tmp/liquid
source /tmp/liquid/bin/activate
pip install pybind11 numpy matplotlib
make python
make check-python
56 changes: 0 additions & 56 deletions .github/workflows/python.yml

This file was deleted.

0 comments on commit 942dc97

Please sign in to comment.