mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-26 20:38:45 +08:00
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
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: Build and run
|
|
run: |
|
|
cmake.exe --help
|
|
cmake -G "Visual Studio 16 2019" -D BUILD_TESTS=ON ./
|
|
# make
|
|
|
|
# - name: Run tests
|
|
# run: ./test/etl_tests
|
|
|
|
# steps:
|
|
# - name: Checkout
|
|
# uses: actions/checkout@v2
|
|
# with:
|
|
# submodules: recursive
|
|
|
|
# - name: Add msbuild to PATH
|
|
# uses: microsoft/setup-msbuild@v1.0.1
|
|
|
|
# - name: Directories
|
|
# run: |
|
|
# echo ::set-env name=workspace::$GITHUB_WORKSPACE
|
|
# echo ${{ github.workspace }}
|
|
# echo ${{ github.workspace }}/../unittest-cpp
|
|
|
|
|
|
# - name: Checkout UnitTest++
|
|
# uses: actions/checkout@v2
|
|
# with:
|
|
# repository: unittest-cpp/unittest-cpp
|
|
# path: ${{ github.workspace }}/../unittest-cpp
|
|
#
|
|
# - name: Build
|
|
# run: MSBuild.exe test/vs2019/etl.sln
|
|
|
|
# - name: Run tests
|
|
# run: ./test/etl_tests
|
|
|