Skip to content

Commit c7fe75a

Browse files
committed
Add macOS CI
This reverts commit b057241.
1 parent 0bba7a3 commit c7fe75a

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ jobs:
1212
uses: angr/ci-settings/.github/workflows/angr-ci.yml@master
1313
windows:
1414
uses: ./.github/workflows/windows.yml
15+
macos:
16+
uses: ./.github/workflows/macos.yml

.github/workflows/macos.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Test on macOS
2+
3+
on:
4+
workflow_dispatch:
5+
workflow_call:
6+
7+
jobs:
8+
macos:
9+
name: Test macOS
10+
runs-on: macos-12
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
path: angr-management
15+
- uses: actions/checkout@v4
16+
with:
17+
repository: angr/binaries
18+
path: binaries
19+
- uses: actions/setup-python@v4
20+
with:
21+
python-version: "3.8"
22+
- run: python -m venv $HOME/venv
23+
name: Create venv
24+
shell: bash
25+
- run: |
26+
source $HOME/venv/bin/activate
27+
pip install "setuptools>=59" wheel cffi "unicorn==2.0.1.post1"
28+
pip install git+https://github.com/angr/archinfo.git
29+
pip install git+https://github.com/angr/pyvex.git
30+
pip install git+https://github.com/angr/cle.git
31+
pip install git+https://github.com/angr/claripy.git
32+
pip install git+https://github.com/angr/ailment.git
33+
pip install --no-build-isolation git+https://github.com/angr/angr.git
34+
name: Install dependencies
35+
- run: |
36+
source $HOME/venv/bin/activate
37+
pip install ./angr-management[testing]
38+
name: Install angr-management
39+
- run: |
40+
source $HOME/venv/bin/activate
41+
pytest -n auto angr-management
42+
name: Run pytest

0 commit comments

Comments
 (0)