Skip to content

Commit

Permalink
Use a dedicated vcpkg action for Windows and remove limitation on par…
Browse files Browse the repository at this point in the history
…allel build
  • Loading branch information
Alex-PLACET committed Nov 13, 2024
1 parent fc8d3ed commit 27a732a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ jobs:

- name: Setup vcpkg environment
if: matrix.target-arch.name == 'Win32'
run: |
vcpkg install --triplet=x86-windows
uses: lukka/run-vcpkg@v11

- name: Set conda environment
if: matrix.target-arch.name == 'Win64'
Expand Down Expand Up @@ -139,15 +138,15 @@ jobs:

- name: Build library
working-directory: build
run: cmake --build . --config ${{matrix.config.name}} --target sparrow --parallel 8
run: cmake --build . --config ${{matrix.config.name}} --target sparrow

- name: Install
working-directory: build
run: cmake --install . --config ${{matrix.config.name}}

- name: Build tests
working-directory: build
run: cmake --build . --config ${{matrix.config.name}} --target test_sparrow_lib --parallel 8
run: cmake --build . --config ${{matrix.config.name}} --target test_sparrow_lib

- name: Run tests
working-directory: build
Expand Down

0 comments on commit 27a732a

Please sign in to comment.