Install r2pipe.py for Debian Jessie CI job (#17241)
* Install r2pipe.py for Debian Jessie CI job * Build Python 3.6 from source
This commit is contained in:
parent
4fa2cffb43
commit
742b5098af
1 changed files with 12 additions and 1 deletions
13
.github/workflows/debianold.yml
vendored
13
.github/workflows/debianold.yml
vendored
|
|
@ -18,7 +18,16 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Install tools
|
||||
run: apt-get update && apt-get install --yes patch unzip git gcc make curl pkg-config python3 libc6-i386
|
||||
run: apt-get update && apt-get install --yes patch unzip git gcc make curl pkg-config libc6-i386 build-essential
|
||||
- name: Install Python source build dependcies
|
||||
run: apt-get install --yes checkinstall libbz2-dev libc6-dev libgdbm-dev libncursesw5-dev libreadline-gplv2-dev libssl-dev libsqlite3-dev tk-dev
|
||||
- name: Install Python from source
|
||||
run: |
|
||||
curl -o Python-3.6.9.tgz https://www.python.org/ftp/python/3.6.9/Python-3.6.9.tgz
|
||||
tar -zxvf Python-3.6.9.tgz
|
||||
cd Python-3.6.9/
|
||||
./configure
|
||||
make install
|
||||
- name: Checkout r2
|
||||
run: |
|
||||
git clone https://github.com/${{ github.repository }}
|
||||
|
|
@ -36,6 +45,8 @@ jobs:
|
|||
- name: Install with make
|
||||
run: make install
|
||||
working-directory: radare2
|
||||
- name: Install test dependencies
|
||||
run: python3 -m pip install --user 'git+https://github.com/radareorg/radare2-r2pipe#egg=r2pipe&subdirectory=python'
|
||||
- name: Run tests
|
||||
run: cd test && make
|
||||
working-directory: radare2
|
||||
|
|
|
|||
Loading…
Reference in a new issue