Skip to content

failed to build under linux #237

failed to build under linux

failed to build under linux #237

Workflow file for this run

name: NGL Windows
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ilammy/msvc-dev-cmd@v1.4.1
- name: install vcpkg
run : |
git clone --depth 1 https://github.com/microsoft/vcpkg $HOME/vcpkg
cd $HOME/vcpkg
bootstrap-vcpkg.bat
- name: Configure
run: |
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE="$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake" -DNO_OIIO=1 -DCMAKE_BUILD_TYPE=Debug -DVCPKG_MANIFEST_DIR="..\manifest\ci\" ..
- name: Build
run: |
cd build
cmake --build .
- name: Test
run: |
cd build
cd Debug
./NGLTests.exe -g