Skip to content

Commit

Permalink
Update build-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
baderouaich authored Sep 29, 2023
1 parent 87a7389 commit afefdaa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:
# https://github.com/actions/checkout
- uses: actions/checkout@v4


- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.2
with:
vs-version: '16.8' # using vs 16.8.3 in my local machine Help -> About Microsoft Visual Studio

- name: Generate Project Files

- name: Generate Project Files & Build Solution
run: |
md cmake-build-debug && cd cmake-build-debug
cmake .. -G"Visual Studio 16 2022" -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON
- name: Build Solution
run: msbuild tgbotxx.sln -property:Configuration=Release,MultiProcessorCompilation=true -maxCpuCount -verbosity:minimal -noLogo
md cmake-build-debug && cd cmake-build-debug
cmake .. -G"Visual Studio 16 2022" -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON
msbuild tgbotxx.sln -property:Configuration=Release,MultiProcessorCompilation=true -maxCpuCount -verbosity:minimal -noLogo

0 comments on commit afefdaa

Please sign in to comment.