added Shader Tests for single shader building #222
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |