mirror of
https://github.com/ETLCPP/etl.git
synced 2026-07-01 06:48:44 +08:00
Github actions for MSVC
This commit is contained in:
parent
44e2730baa
commit
b971037ce5
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
|
||||
build-visual-studio:
|
||||
runs-on: windows
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -16,25 +16,4 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Installing vcpkg
|
||||
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
|
||||
run: |
|
||||
cd ${{ github.workspace }}
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}
|
||||
/../vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
|
||||
- name: Build and run
|
||||
run: |
|
||||
cmake -D BUILD_TESTS=ON ./
|
||||
cd build
|
||||
MSBuild.exe etl.sln
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user