Skip to content

Commit

Permalink
github: use ilammy/msvc-dev-cmd@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Dec 3, 2024
1 parent c7c87f4 commit a326459
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cmake-ninja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@ jobs:
- name: Install ninja-build tool
uses: seanmiddleditch/gha-setup-ninja@v5

- name: Setup VS Dev Environment
uses: seanmiddleditch/gha-setup-vsdevenv@v4
- name: Configure build for amd64
uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64

- name: Configure CMake (x64)
run: cmake --preset ninja-x64

- name: Build (x64)
run: cmake --build --preset ninja-x64-release --verbose

- name: Setup VS Dev Environment (x86)
uses: seanmiddleditch/gha-setup-vsdevenv@v4
- name: Configure build for x86
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86
host_arch: x86
arch: amd64_x86

- name: Configure CMake (x86)
run: cmake --preset ninja-x86
Expand Down

0 comments on commit a326459

Please sign in to comment.