Replace Jython with JPype #36
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
name: CI | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
uses: angr/ci-settings/.github/workflows/angr-ci.yml@master | |
test: | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
os: [ubuntu-22.04, macos-12, windows-2022] | |
fail-fast: false | |
name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Pysoot | |
uses: actions/checkout@v4 | |
with: | |
path: pysoot | |
- name: Checkout binaries | |
uses: actions/checkout@v4 | |
with: | |
repository: angr/binaries | |
path: binaries | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
- name: Install pysoot | |
run: pip install ./pysoot[testing] | |
- name: Run tests | |
run: pytest pysoot |