Skip to content

Commit

Permalink
Use venv for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
tklengyel committed Sep 30, 2024
1 parent 9b42c13 commit ce53ef0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,14 @@ jobs:
sudo apt-get update -q
sudo apt-get install -y \
clang llvm lld build-essential flex bison \
libjson-c-dev liblzo2-dev libglib2.0-dev meson ninja-build check
sudo pip3 install ctypesgen ipython
libjson-c-dev liblzo2-dev libglib2.0-dev meson ninja-build check \
python3-ipython
- name: Setup python venv for REPL
run: |
python3 -m venv venv
source venv/bin/activate
pip3 install ctypesgen
- name: Cache Xen debball
uses: actions/cache@v4
Expand All @@ -145,6 +151,7 @@ jobs:
- name: Compile ${{ matrix.flags }}
run: |
source venv/bin/activate
meson setup build --native-file llvm.ini ${{ matrix.flags }}
ninja -C build
Expand Down Expand Up @@ -174,7 +181,6 @@ jobs:
sudo apt-get install -y \
clang autoconf-archive automake check \
libjson-c-dev liblzo2-dev libglib2.0-dev
sudo pip3 install ctypesgen ipython
- name: Cache Xen debball
uses: actions/cache@v4
Expand Down

0 comments on commit ce53ef0

Please sign in to comment.