-
Notifications
You must be signed in to change notification settings - Fork 117
41 lines (39 loc) · 1.07 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Test on Windows
on:
workflow_dispatch:
workflow_call:
jobs:
windows:
name: Test Windows
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
with:
path: pyvex
submodules: true
- uses: actions/checkout@v3
with:
repository: angr/binaries
path: binaries
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: python -m venv $HOME/venv
name: Create venv
shell: bash
- run: |
call %USERPROFILE%\venv\Scripts\activate
pip install git+https://github.com/angr/archinfo.git
name: Install dependencies
shell: cmd
- run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
call %USERPROFILE%\venv\Scripts\activate
pip install ./pyvex[testing]
name: Install
shell: cmd
- run: |
call %USERPROFILE%\venv\Scripts\activate
pytest -n auto pyvex
name: Run pytest
shell: cmd