mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-26 23:10:32 +00:00
Use ilammy/msvc-dev-cmd in python tests
This commit is contained in:
parent
0cca459683
commit
dfdd331b8d
13
.github/workflows/python-tests.yml
vendored
13
.github/workflows/python-tests.yml
vendored
@ -15,18 +15,19 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Build and install capstone (Windows)
|
||||
|
||||
- name: Setup MSVC
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
pip install ./bindings/python
|
||||
- name: Build and install capstone (non-Windows)
|
||||
if: runner.os != 'Windows'
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
|
||||
- name: Build and install capstone
|
||||
run: pip install ./bindings/python
|
||||
|
||||
- name: Run tests
|
||||
run: python test_all.py
|
||||
working-directory: ./bindings/python
|
||||
|
Loading…
Reference in New Issue
Block a user