yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
410ad9c18
master
1name : Compile Regression-Test 2 3on : 4push : 5branches : [ master ] 6paths-ignore : 7- "docs/**" 8- "LICENSES/**" 9- "LICENSE" 10- "CONTRIBUTING.md" 11- "README.md" 12pull_request : 13branches : [ master ] 14paths-ignore : 15- "docs/**" 16- "LICENSES/**" 17- "LICENSE" 18- "CONTRIBUTING.md" 19- "README.md" 20concurrency : 21group : ${{ github.workflow }}-${{ github.ref }} 22cancel-in-progress : true 23jobs : 24build : 25timeout-minutes : 100 26continue-on-error : true 27strategy : 28fail-fast : false 29matrix : 30os : [ windows ] 31config : [ release ] 32compiler : [ cl ] 33platform : [ x86_64 ] 34include : 35# Self-hosted falcor tests 36- warnings-as-errors : true 37test-category : full 38full-gpu-tests : false 39runs-on : [ Windows , self-hosted , regression-test ] 40runs-on : ${{ matrix.runs-on }} 41defaults : 42run : 43shell : bash 44steps : 45- uses : actions/checkout@v4 46with : 47submodules : "recursive" 48fetch-depth : "0" 49- name : Setup 50uses : ./.github/actions/common-setup 51with : 52os : ${{matrix.os}} 53compiler : ${{matrix.compiler}} 54platform : ${{matrix.platform}} 55config : ${{matrix.config}} 56build-llvm : true 57- name : Build Slang 58run : | 59cmake --preset default --fresh \ 60-DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM \ 61-DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} \ 62-DSLANG_ENABLE_CUDA=1 63cmake --workflow --preset "${{matrix.config}}" 64- name : Run compile and validation test 65run : | 66 cp -r /c/slang_compile_test_suite_a . 67 cd slang_compile_test_suite_a 68 export SLANGC_PATH="$bin_dir/slangc.exe" 69 bash ./compile_all_slang.sh