mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-30 22:38:44 +08:00
41 lines
925 B
YAML
41 lines
925 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [ feature/github-actions-for-windows-compilers ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
|
|
build-windows-vs2019:
|
|
name: Windows VS2019 Debug
|
|
runs-on: [windows-latest]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
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: Build
|
|
run: |
|
|
cd ${{ github.workspace }}
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}
|
|
/../vcpkg/scripts/buildsystems/vcpkg.cmake
|
|
cd build
|
|
MSBuild.exe etl.sln /property:Configuration=Debug
|
|
|
|
- name: Run tests
|
|
run: ./test/etl_tests
|