Skip to content

Commit

Permalink
gitlab/ci: running 'check-doc' task in virtual environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Jul 13, 2024
1 parent fd8de61 commit 5dbed97
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,11 @@ jobs:
- name: Setup environment (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y --no-install-recommends build-essential pybind11-dev virtualenv
sudo apt-get install -y --no-install-recommends build-essential pybind11-dev virtualenv python3-dev
#- name: Setup libfec
# run: git clone https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install

- name: Setup python virtual environment
run: |
python3 -m venv /tmp/liquid
source /tmp/liquid/bin/activate
pip install pybind11 numpy matplotlib
- name: bootstrap
run: ./bootstrap.sh

Expand All @@ -48,7 +42,11 @@ jobs:
run: make -j 2

- name: make check-doc
run: 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 Down

0 comments on commit 5dbed97

Please sign in to comment.