Skip to content

Commit

Permalink
Update build-win.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kleag authored Apr 29, 2024
1 parent 398ad26 commit 0ea2ea8
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/build-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,40 +23,40 @@ env:
GCC_VERSION: "10.1.0"


jobs:
samples-build-VS-2019:
runs-on: windows-2019

strategy:
matrix:
configuration: [Release]
platform: [x64]

steps:
- name: "Checkout code"
uses: actions/checkout@v3
with:
submodules: recursive

- name: Installing vcpkg (windows)
run: |
cd ..
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
git checkout --force 2020.01
.\bootstrap-vcpkg.bat
.\vcpkg.exe install cppzmq:x64-windows
- name: Running cmake (windows)
run: |
cd ${{ github.workspace }}
ls
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/../vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Build Solution (windows)
run: |
cd build
MSBuild.exe CMakeHelloWorld.sln
jobs:
samples-build-VS-2019:
runs-on: windows-2019

steps:
- name: "Checkout code"
uses: actions/checkout@v3
with:
submodules: recursive

- name: Installing vcpkg (windows)
run: |
cd ..
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
git checkout --force 2020.01
.\bootstrap-vcpkg.bat
.\vcpkg.exe install cppzmq:x64-windows
- name: Running cmake (windows)
run: |
cd ${{ github.workspace }}
ls
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/../vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Build Solution (windows)
run: |
cd build
MSBuild.exe CMakeHelloWorld.sln

0 comments on commit 0ea2ea8

Please sign in to comment.