sowson/darknet

automatic build to test on windows

sowson opened this issue · 1 comments

do you know if the below YAML script will be fine? I do not want to commit to something that does not work...

name: CMakeW

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: windows-latest

steps:
- name: Configure CMake
  run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
  run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

Looks like it is not needed by anyone!