[pre-commit.ci] pre-commit autoupdate #54
Workflow file for this run
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: Install Smoketest | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
windows: | |
name: Test Windows installation | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- run: python -m venv $HOME\venv | |
name: Create venv | |
- run: | | |
call %USERPROFILE%\venv\Scripts\activate | |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" | |
pip install git+https://github.com/angr/archinfo.git | |
name: Install dependencies | |
shell: cmd | |
- run: | | |
call %USERPROFILE%\venv\Scripts\activate | |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" | |
pip install . | |
name: Install pyvex | |
shell: cmd | |
- run: | | |
call %USERPROFILE%\venv\Scripts\activate | |
cd \ | |
python -c "import pyvex; print('It works!')" | |
name: Import pyvex | |
shell: cmd | |
macos: | |
name: Test macOS installation | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- 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 git+https://github.com/angr/archinfo.git | |
name: Install dependencies | |
- run: | | |
source $HOME/venv/bin/activate | |
pip install . | |
name: Install pyvex | |
- run: | | |
source $HOME/venv/bin/activate | |
python -c "import pyvex; print('It works!')" | |
name: Import pyvex |