Skip to content

Commit

Permalink
msvc build 4
Browse files Browse the repository at this point in the history
  • Loading branch information
hetulbhatt committed Jul 11, 2023
1 parent 600ea01 commit c4421d9
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ jobs:
- name: Set up environment
run: echo "Running on Windows - ${{ matrix.architecture }}"

- name: Install Visual Studio Build Tools
run: |
choco install visualstudio2019buildtools -y --package-parameters "--includeRecommended --includeOptional"
refreshenv
- uses: ilammy/msvc-dev-cmd@v1

- name: Set up MSVC environment
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
# - name: Set up MSVC environment
# shell: cmd
# run: |
# call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"

- name: Build
run: cl /EHsc KeyFlow\KeyFlow.cpp /link user32.lib /Fe:KeyFlow-${{ matrix.architecture }}.exe
Expand Down

0 comments on commit c4421d9

Please sign in to comment.