Skip to content

Commit

Permalink
Last try
Browse files Browse the repository at this point in the history
  • Loading branch information
ktakashi committed Dec 4, 2023
1 parent 5e6c85b commit cd91e97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,11 @@ jobs:
working-directory: target
run: ctest -V
Windows-Build:
runs-on: ${{ matrix.images.name }}
runs-on: ${{ matrix.images }}
strategy:
matrix:
images:
# - name: windows-2019
# vspath: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise'
# arch: x86_amd64
# - name: windows-2019
# vspath: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise'
# arch: x86
- name: windows-2022
vspath: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise'
arch: x64
- name: windows-2022
vspath: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise'
arch: x86
arch: [x64, x86]
images: [windows-2019, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -66,8 +55,7 @@ jobs:
- name: Setup MSVC
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: ${{ matrix.images.arch }}
vs-path: ${{ matrix.images.vspath }}
arch: ${{ matrix.arch }}
- name: Pre build
working-directory: target
run: |
Expand Down
1 change: 0 additions & 1 deletion ext/ffi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ ELSE()
SET(HAVE_FFI_PREP_CIF_VAR TRUE)
ADD_SUBDIRECTORY(libffi libffi)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libffi/include)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/libffi)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/libffi/include)
# since 3.0.13 it's doing proper __declspec for MCVC for DLL
# and we want to make it static for bundled one so defaine FFI_BUILDING
Expand Down

0 comments on commit cd91e97

Please sign in to comment.