Skip to content

Commit

Permalink
debug actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ruaronicola committed Sep 27, 2023
1 parent 60106e1 commit 79e8fd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ jobs:
run: |
python -m venv venv
source venv/bin/activate
# sudo apt install -y gcc cmake gperf libgmp-dev
sudo apt install -y gcc cmake gperf libgmp-dev
python -m pip install --upgrade pip
python -c "import sys; print(sys.path)"
# pip install pytest
# /bin/bash setup.sh --no-gigahorse
pip install pytest
/bin/bash setup.sh --no-gigahorse
# - name: Test with pytest
# run: |
Expand Down
5 changes: 4 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,12 @@ if [ ! -d $GREED_DIR/yices2_python_bindings ]; then
fi

# for some reason github builds fail to find libyices.so. This should fix it
ls -lah $VIRTUAL_ENV_LIB | grep yices
python -c "import sys; print(sys.path)"
export PYTHONPATH=$PYTHONPATH:$VIRTUAL_ENV_LIB
python -c "import sys; print(sys.path)"
cp $GREED_DIR/resources/yices_api.py yices2_python_bindings/yices_api.py
which python
which pip
pip install -e yices2_python_bindings
yices_python_info

Expand Down

0 comments on commit 79e8fd8

Please sign in to comment.