Skip to content

Commit 389c9d2

Browse files
committed
Workaround for funky python install on github.
1 parent ca9a7b3 commit 389c9d2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ccpp.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ jobs:
66
build:
77

88
runs-on: ubuntu-latest
9+
python-version: 3.6
910

1011
steps:
1112
- uses: actions/checkout@v1
13+
- name: setup python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.6
1217
- name: get dependencies
13-
run: sudo apt-get install git cmake python3-dev g++ libpcre3 libpcre3-dev libgmp3-dev libgtkmm-3.0-dev libboost-all-dev libgmp-dev libsqlite3-dev uuid-dev texlive-base python3-mpmath python3-sympy python3-gmpy2 && python3 -c "import sympy; print(sympy.__version__)"
18+
run: sudo apt-get install git cmake python3-dev g++ libpcre3 libpcre3-dev libgmp3-dev libgtkmm-3.0-dev libboost-all-dev libgmp-dev libsqlite3-dev uuid-dev texlive-base python3-mpmath && python -m pip install sympy
1419
- name: configure
1520
run: mkdir build && cd build && cmake -DENABLE_MATHEMATICA=OFF ..
1621
- name: make

0 commit comments

Comments
 (0)