DiligentCore
DiligentCore copied to clipboard
Cache glslang-related build artifacts on CI
- Leverage the option to provide external third-party libraries:
- Add special CMake file that will only be used on CI and that will try to find pre-built static libraries in a given folder. If libraries exist, create corresponding targets.
- Add a small CMake file that will output compiler ID to file
- Use Compiler ID + configuration + platform + bit (32 vs 64) + third-party hash as key
- After build succeeds, copy relevant files to the cache folder
Cache action link https://github.com/DiligentGraphics/DiligentCore/commit/6976c60a9d7a746ccdcf6ca8403c7cb042fa6d29 Caching dependencies to speed up workflows