Skip to content

code style

code style #220

name: Windows (Visual Studio)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Visual Studio
uses: egor-tensin/vs-shell@v2
- name: Setup gitmodules
run: git submodule update --init --recursive
- name: Configure CMake
run: cmake -B ${{github.workspace}}\build -DCMAKE_BUILD_TYPE=Release -UOPENCL_SDK_BUILD_SAMPLES
- name: Build
run: cmake --build ${{github.workspace}}\build
- name: Run Example
working-directory: ${{github.workspace}}/build
run: ctest --verbose