Skip to content

Commit c1103b4

Browse files
committed
Redo CI for multiplatform support
1 parent 4e9c217 commit c1103b4

File tree

3 files changed

+38
-14
lines changed

3 files changed

+38
-14
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,44 @@ name: CI
33
on:
44
push:
55
branches:
6-
- "**"
6+
- "master"
77
pull_request:
88
workflow_dispatch:
99

1010
jobs:
1111
ci:
1212
uses: angr/ci-settings/.github/workflows/angr-ci.yml@master
13+
14+
test:
15+
strategy:
16+
matrix:
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
18+
os: [ubuntu-22.04, macos-12, windows-2022]
19+
fail-fast: false
20+
name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }}
21+
runs-on: ${{ matrix.os }}
22+
steps:
23+
- name: Checkout Pysoot
24+
uses: actions/checkout@v4
25+
with:
26+
path: pysoot
27+
- name: Checkout binaries
28+
uses: actions/checkout@v4
29+
with:
30+
repository: angr/binaries
31+
path: binaries
32+
- name: Set up Python ${{ matrix.python-version }}
33+
uses: actions/setup-python@v2
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
- name: Setup Java
37+
uses: actions/setup-java@v4
38+
with:
39+
distribution: 'zulu'
40+
java-version: '8'
41+
42+
- name: Install pysoot
43+
run: pip install ./pysoot[testing]
44+
45+
- name: Run tests
46+
run: pytest pysoot

.github/workflows/nightly-ci.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ dependencies = ["jpype1", "psutil", "frozendict"]
1212

1313
[tool.setuptools.package-data]
1414
pysoot = ["soot-trunk.jar"]
15+
16+
[project.optional-dependencies]
17+
testing = ["pytest"]

0 commit comments

Comments
 (0)