Skip to content

Commit

Permalink
Exempt plugin resource binaries from gitignore, do not compile shader…
Browse files Browse the repository at this point in the history
…s in CI
  • Loading branch information
1runeberg committed Nov 2, 2024
1 parent 334c3fc commit b59782b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
**/bin/*
**/lib/*

# Exempt plugin resource binaries
!res/**/bin/

# Android auto-generated
**/.cxx/
**/.gradle/
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ add_custom_command(TARGET ${XRLIB} POST_BUILD


# Compile shaders only if we're not in an android build
if(NOT ANDROID)
if(NOT ANDROID AND NOT DEFINED ENV{GITHUB_ACTIONS})
add_custom_command(TARGET ${XRLIB} POST_BUILD
COMMAND ${CMAKE_COMMAND} --build . --target CompileShaders
)
Expand Down

0 comments on commit b59782b

Please sign in to comment.