Skip to content

Commit

Permalink
Add msbuild to path.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpallant committed Nov 19, 2024
1 parent bfc4920 commit 660a1e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ jobs:
- name: Update Rust
run: |
rustup update stable
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build FFI Example
run: |
cd example-code\native\ffi\use-rust-in-c\windows-example
msbuild windows-example.sln /p:Configuration=Debug
msbuild.exe windows-example.sln /p:Configuration=Debug
dir /s
.\Release\windows-example.exe
msbuild windows-example.sln /p:Configuration=Release
msbuild.exe windows-example.sln /p:Configuration=Release
.\Debug\windows-example.exe

0 comments on commit 660a1e8

Please sign in to comment.