Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into process-env-add-2
- Loading branch information
Showing
412 changed files
with
33,062 additions
and
7,056 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Android Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
android-test: | ||
strategy: | ||
matrix: | ||
python-version: [3.8] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Cache for pip | ||
uses: actions/cache@v3 | ||
id: cache-pip | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ matrix.os }}-cache-pip | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install Linux dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y --no-install-recommends -o Acquire::Retries=3 \ | ||
gdb gdbserver socat \ | ||
qemu-user-static \ | ||
binutils-aarch64-linux-gnu \ | ||
binutils-arm-linux-gnueabihf \ | ||
libc6-dbg | ||
- name: Install Android AVD | ||
run: | | ||
source travis/setup_avd_fast.sh | ||
sed -i 's/skip_android = True/skip_android = False/' docs/source/conf.py | ||
set | grep ^PATH >.android.env | ||
- name: Install dependencies | ||
run: | | ||
pip install --upgrade pip | ||
python setup.py egg_info | ||
pip install --upgrade --editable . | ||
- name: Sanity checks | ||
run: PWNLIB_NOTERM=1 python -c 'from pwn import *; print(pwnlib.term.term_mode)' | ||
|
||
- name: Install documentation dependencies | ||
run: pip install -r docs/requirements.txt | ||
|
||
- name: Coverage Doctests (Android Only) | ||
run: | | ||
source .android.env | ||
PWNLIB_NOTERM=1 coverage run -m sphinx -b doctest docs/source docs/build/doctest docs/source/adb.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.