Skip to content

refactor: 删除capture.direct3d_surface.h文件 #35

refactor: 删除capture.direct3d_surface.h文件

refactor: 删除capture.direct3d_surface.h文件 #35

Workflow file for this run

name: test
on:
push:
branches: [ "*" ]
paths:
- 'source/**'
- 'tests/**'
- '.github/workflows/test.yml'
pull_request:
# 除了master分支,其他分支都不触发
branches: [ master ]
paths:
- 'source/**'
- 'tests/**'
- '.github/workflows/test.yml'
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# 跳过提交信息开头为doc:或者docs:的提交
if: "!startsWith(github.event.head_commit.message, 'doc:') && !startsWith(github.event.head_commit.message, 'docs:')"
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: clone third party submodule
run: git submodule update --init --recursive
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_CVAUTOTRACK_TESTS=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}