CMAKE/MAPPACK: Add hectic to shader validation #1041
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
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
name: "Validate" | |
jobs: | |
validate: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: "Checkout" | |
uses: nschloe/action-cached-lfs-checkout@v1 | |
- name: "Install Dependencies (Linux)" | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsdl2-dev | |
- name: "Validate" | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DBUILD_CLIENT=OFF -DBUILD_SERVER=OFF -DBUILD_RENDERER_OPENGL2=OFF -DBUILD_RENDERER_VULKAN=OFF | |
cmake --build . --target bsptool | |
cmake --build . --target shadertool | |
ctest --output-on-failure |