Skip to content

Commit

Permalink
Add macOS CI
Browse files Browse the repository at this point in the history
This reverts commit b057241.
  • Loading branch information
twizmwazin committed Apr 22, 2024
1 parent 6a9d544 commit 9ab04b2
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ jobs:
uses: angr/ci-settings/.github/workflows/angr-ci.yml@master
windows:
uses: ./.github/workflows/windows.yml
macos:
uses: ./.github/workflows/macos.yml
42 changes: 42 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test on macOS

on:
workflow_dispatch:
workflow_call:

jobs:
macos:
name: Test macOS
runs-on: macos-12
steps:
- uses: actions/checkout@v4
with:
path: angr-management
- uses: actions/checkout@v4
with:
repository: angr/binaries
path: binaries
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- run: python -m venv $HOME/venv
name: Create venv
shell: bash
- run: |
source $HOME/venv/bin/activate
pip install "setuptools>=59" wheel cffi "unicorn==2.0.1.post1"
pip install git+https://github.com/angr/archinfo.git
pip install git+https://github.com/angr/pyvex.git
pip install git+https://github.com/angr/cle.git
pip install git+https://github.com/angr/claripy.git
pip install git+https://github.com/angr/ailment.git
pip install --no-build-isolation git+https://github.com/angr/angr.git
name: Install dependencies
- run: |
source $HOME/venv/bin/activate
pip install ./angr-management[testing]
name: Install angr-management
- run: |
source $HOME/venv/bin/activate
pytest -n auto angr-management
name: Run pytest

0 comments on commit 9ab04b2

Please sign in to comment.