Skip to content

Commit

Permalink
Test installation of dependencies with pip
Browse files Browse the repository at this point in the history
  • Loading branch information
LRGH committed Mar 17, 2024
1 parent 87c541e commit 9d8a4dd
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/portability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,39 @@ jobs:
run: |
codecov
pip-install:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "ubuntu-latest", "macos-latest"]
python-version: ["3.10", "pypy2.7", "pypy3.9", "graalpy-22.3"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies using pip
run: |
python -m pip install pytest pyparsing coverage codecov
python -m pip install git+https://github.com/LRGH/elfesteem
python -m pip install git+https://github.com/LRGH/miasmX
python -m pip install git+https://github.com/LRGH/amoco
- name: Test MIASM dependency
run: |
python tools/disass.py -c /MIASM non_regression/basic_x86_linux.intel.s
python tools/disass.py -c /MIASM non_regression/basic_x86_linux.att.s
python tools/disass.py -c /MIASM non_regression/basic_x86_linux.o
- name: Test AMOCO dependency
if: ${{ matrix.python-version != 'graalpy-22.3' && matrix.python-version != 'pypy2.7' }}
run: |
python tools/disass.py -c /AMOCO non_regression/basic_x86_linux.att.s
python tools/disass.py -c /AMOCO non_regression/basic_x86_linux.o
- name: Unit tests asm_basic (without using pytest module)
run: |
python non_regression/run_tests.py test_asm_basic
python23:
runs-on: "ubuntu-latest"
strategy:
Expand Down

0 comments on commit 9d8a4dd

Please sign in to comment.