Skip to content

Commit

Permalink
Update workflow vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheitman committed Dec 6, 2023
1 parent 34f3c93 commit 71b1c9b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
- uses: lukka/get-cmake@latest
name: Get CMake

- name: Set up Python 3.11
if: ${{ matrix.platform == 'macos' }}
uses: actions/setup-python@v4
with:
python-version: '3.11'

- uses: ilammy/msvc-dev-cmd@v1
name: Setup Windows dev environment
with:
Expand All @@ -69,6 +75,7 @@ jobs:
- name: Configure (UNIX)
if: ${{ matrix.platform != 'windows' }}
run: |
python -m pip install importlib-resources
cmake --preset=${{ matrix.cmake-preset }} -DBUILD_SHARED_LIBS:BOOL=ON -DVCPKG_OVERLAY_TRIPLETS:PATH=${{ github.workspace }}/vcpkg/triplets -DVCPKG_TARGET_TRIPLET:STRING=${{ matrix.vcpkg-triplet }}
env:
# capstone 4.0.2 does not produce a CMake Config, hence the need to point directly to include directories and libraries
Expand All @@ -82,8 +89,8 @@ jobs:
cmake --build --preset build-${{ matrix.cmake-preset }} --config Release
- name: Test
# Test disabled on Windows `pip install lief` fails as there is no ready to use .whl and compilation fails
# Test disabled on macOS `pip install lief` fails as there is no ready to use .whl and compilation fails
# Test disabled on Windows `pip install lief` fails as there is no ready to use .whl and compilation fails
# Test disabled on macOS `pip install lief` fails as there is no ready to use .whl and compilation fails
if: ${{ (matrix.platform != 'windows') && (matrix.platform != 'macos') }}
run: |
${{ matrix.python-executable }} -m pip install lief==0.10.1 unicorn==2.0.0 z3-solver
Expand Down

0 comments on commit 71b1c9b

Please sign in to comment.