mirror of
https://github.com/JonathanSalwan/ROPgadget
synced 2026-06-08 11:25:23 +00:00
32 lines
734 B
YAML
32 lines
734 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Python code style linter
|
|
uses: wemake-services/wemake-python-styleguide@0.14.1
|
|
- name: Build
|
|
run: |
|
|
python2 -m pip install --upgrade setuptools wheel
|
|
python3 -m pip install --upgrade setuptools wheel
|
|
python2 setup.py sdist bdist_wheel
|
|
python3 setup.py sdist bdist_wheel
|
|
- name: Install
|
|
run: |
|
|
python2 -m pip install dist/ROPGadget*py2*.whl
|
|
python3 -m pip install dist/ROPGadget*py3*.whl
|
|
- name: Run tests
|
|
run: |
|
|
cd test-suite-binaries
|
|
./test.sh
|
|
./test.sh python2
|
|
cd ..
|