summaryrefslogtreecommitdiffstats
path: root/.github
Commit message (Collapse)AuthorAge
...
* Enable debug log for VK CTS workflow (#5197)Jay Kwak2024-09-30
| | | | | | | | | | | | | | | | This commit enables the workflow debug message for running VK CTS workflow. Currently three CTS tests are causing a crash of deqp with an exit code 1. And when the debug message printing is enabled, this crash is no longer happening, which is unexpected. It seems like the issue is on the CI runner process rather than Slang, driver nor deqp. We will keep the log message enabled not only to avoid the crash but also to see more information when things went wrong. This commit also prints the last 1,000 lines of TestResults.qpa when deqp had a failing test or deqp was exited unexpectedly. This will help us to debug the problem faster.
* Disable the building of slang-llvm when targeting wasm platform (#5196)Jay Kwak2024-09-30
| | | Co-authored-by: Yong He <yonghe@outlook.com>
* Switch sccache action to Mozilla-Actions version (#5189)Ellie Hermaszewska2024-09-30
|
* Disable wgpu on linux (#5186)Simon Kallweit2024-09-30
| | | | | | | | | * remove setting CMAKE_SYSTEM_PROCESSOR we will need a proper toolchain file to setup cross-compilation * disable slang-rhi webgpu backend on linux this is a temporary fix for allowing the release workflow to run
* Add CI step to build WebAssembly version of Slang (#5164)Jay Kwak2024-09-27
| | | | | | | | Closes #5117 This adds a build step of WebAssembly version of Slang. Currently it is enabled only for Linux/Release to reduce the time cost of CI, but the builds were all successful on all platforms and configurations when tested.
* Add fallback flag for sccache (#5170)Ellie Hermaszewska2024-09-27
| | | | | | | SCCACHE_IGNORE_SERVER_IO_ERROR=1 Closes https://github.com/shader-slang/slang/issues/5163 Co-authored-by: Yong He <yonghe@outlook.com>
* export CMAKE_SYSTEM_PROCESSOR for cross compilation builds (#5171)Simon Kallweit2024-09-27
|
* Remove unused package in primary benchmark script (#5014)venkataram-nv2024-09-05
| | | Also fixes the self-hosted machine that is used for benchmarking, so that variance of timings can be reduced.
* Push benchmark results to a viewable page (#4996)venkataram-nv2024-09-04
| | | | | | | * Push benchmark results to slang-material-modules results page (#4993) * Increasing sample count for push benchmark pipeline * Enable only for master branch
* Updated MDL shader sources for benchmarks (#4965)venkataram-nv2024-08-30
| | | | | | | | | * Updated MDL shader sources for benchmarks * Shifting sources to external repository * Changing repo URL syntax benchmark.yml * Refactoring entry point names
* Draft: integrate slang-rhi (#4970)Simon Kallweit2024-08-30
| | | | | | | | | | | | | | | | | | | | | * add slang-rhi submodule * refactor render-test to use slang-rhi and remove OpenGL support * remove -vk -glsl tests * remove gl test * disable failing test * allow recursive submodules in github actions * update slang-rhi * update slang-rhi --------- Co-authored-by: Yong He <yonghe@outlook.com>
* Auto-cancel obsolete MDL benchmark jobs. (#4929)Yong He2024-08-28
|
* Feature/record unit test (#4910)kaizhangNV2024-08-26
| | | | | | | | | | | | | | | | | | | | | | | | * Fix the slang-test bug Since we reorganize the build directory, now the libraries are located at different directory with executables in non-Windows platform, we have to change the code on how to find the dll directory. * Integrate the record/replay test into slang-unit-test We create a unit-test-record-replay.cpp to run the converted slang examples in child process as our tests for the record-replay layer. * Disable the test on Apple Due to the limitation of current examples, we temporarily disable them on apples. Change the ci to make this test only be run on the gpu-equipped runners, for other runners we add a white-list file "expected-failure-record-replay-tests.txt". * Remove 'hello-world' example from unit test "hello-world" doesn't use gfx abstract library, instead it uses vk directly, it's not a preferable way. So we will drop this test, instead, we will use cpu-hello-world example.
* Allow creating draft releases from tags containing "draft" (#4896)Ellie Hermaszewska2024-08-21
| | | | | * Allow creating draft releases from tags containing "draft" * make draft releases prereleases too
* Refactoring benchmark CI pipeline (#4855)venkataram-nv2024-08-15
| | | | | * Refactoring benchmark CI pipeline * Combine setup and run steps
* GitHub action benchmark (#4804)venkataram-nv2024-08-13
| | | Adds a new Github CI action for benchmarking the slangc compiler on the MDL shaders. For now, the results are only dumped to the output of the CI, which can be later viewed through raw logs. The next step is to use github-action-benchmark to push these results into a page which will show the benchmark results over time as commits are pushed.
* Don't trigger CI on doc changes. (#4736)Yong He2024-07-25
|
* Separating slang-test in CI for emit-spirv-via-glsl (#4665)Jay Kwak2024-07-18
| | | | | | | | | | | | * Separating slang-test in CI for emit-spirv-via-glsl When CI test fails, we expect to see the error messages at the end of each section of CI testing result. But currently when "emit-spirv-via-glsl" fails, the error messages appear in the middle, which lead us to believe that there is no errors when you look only at the end of the result. This commit separates out the "emit-spirv-via-glsl" case to make the error message more visiable.
* Enable warnings-as-error for CI (#4659)Jay Kwak2024-07-18
| | | | | | | | | Enable warnings-as-error for CI Closes #4664. Uses glslang commit that fixed a compiler warning Fixes a recent warning from external/CMakelist.txt A new macro, `SLANG_MAYBE_UNUSED` is added for a future need.
* Fix release configuration for macOS. (#4629)Yong He2024-07-13
|
* More precise handing of option dependencies (#4612)Ellie Hermaszewska2024-07-11
|
* Make ci scripts more robust (#4608)Ellie Hermaszewska2024-07-10
| | | | | | | | | * Remove syntax error in release script * Make ci scripts more robust * Remove lib copying * Add bin directory to RPATH
* revert release script change. (#4607)Yong He2024-07-10
|
* release script: copy lib to bin. (#4605)Yong He2024-07-10
|
* Fix release script. (#4604)Yong He2024-07-10
| | | | | * Fix release script. * Macos release - sign binaries.
* Another fix in macos release script. (#4603)Yong He2024-07-10
| | | | | * Another fix in macos release script. * Fix.
* Delete unused build scripts. (#4601)Yong He2024-07-10
| | | | | * Fix macos release script. * Delete shell scripts
* Cope with bsd coreutils on osx in release script (#4597)Ellie Hermaszewska2024-07-11
|
* A couple of small fixes to cmake releases (#4596)Ellie Hermaszewska2024-07-11
| | | | | | | * Correct windows file uploading * Include slang-llvm.so in releases * Neaten job names
* WIP Drop Premake (#3703)Ellie Hermaszewska2024-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove premake lua * Remove premake generated vs project * remove deps file * Remove premake driving bat files * Full test matrix under CMake * Remove premake based ci workflows * Wiggle CI * remove cmake from ci name * find frameworks correctly on osx * remove cmake from ci name * Cope with sccache not being available * cmake based falcor tests * ci wobble * only install ninja if necessary * more appropriate cache name * Remove premake from build instructions * Add some docs on ci setup * remove premake from regression tests * remove premake from perf test * Set SLANGC_PATH * ci wobble * bump slang-binaries * ci wobble * Bump spirv tools * dont use timestamp in cache * remote debug code * cache key wobble * Install sccache after building llvm * Do not build llvm tools * ci wobble * ci wobble * ci wobble * ci wobble * ci wobble * Tests spirv via glsl in ci * Define SLANG_ENABLE_XLIB=1 * osx builds on aarch64 * ci wobble * ci wobble * ci wobble * ci wobble * ci wobble * ci wobble * package documentation and metadata with cmake * ci wobble * Split hlsl double intrinsic tests * ci wobble * Correct type for double log10 Fixes https://github.com/shader-slang/slang/issues/4549 * remove working test from expected failures * add broken test to expected failures * smaller build for falcor tests * ci wobble * A few exclusions in ci * wip, release script * Enable examples in ci * neaten release script * Correct building docs * Only use xlib vulkan when slang_enable_xlib is true * bump slang-llvm version * Remove toolchain file use * Bump slang-llvm preset version * slash direction * Improve build directions * Add msvc cross build documentation * Disable old release files * Smaller set of releases for test * Allow not building llvm * simplify release matrix * Cross releases * formatting * formatting * ci wiggle * ci wiggle * cleaner * neaten * ci wobble * formatting * Install cross tools on linux * do not clean build dir * neaten ci * neaten ci * neaten ci * remove unused release workflow files * Build llvm on some platforms * neaten ci * notarize on osx * s/x64/x86_64 * ci wobble * Embed stdlib for release build * wobble ci * wobble ci * s/x64/x86_64 * ci wobble * ci wobble * ci wobble * vk-gl-cts on cmake * neaten ci * neaten ci * bump cache action version * Cope with windows being weird about case * old glibc version * old glibc version * Correct action file * Keep cache hot on main branch * separate small script for old glibc releases * ci wobble * ci wobble * Run cmake outside of docker * only sign on releases * Revert "Run cmake outside of docker" This reverts commit a58aaba939a4aa35fe70962fd60d9512b143592f. * python3 on build image * less parallel * ci wobble * ci wobble * ci wobble * newer git * ci wobble * ci wobble * Use newer docker image * Use newer docker image * sccache wobble * permissions issue * neaten * build llvm in ci * build llvm in ci * Remove linux clang build in ci * Only install crossbuild tools on non-aarch64 systems * neaten ci.yml * Correct github matrix * Simplify github matrix * ci wobble * Disable broken test See https://github.com/shader-slang/slang/issues/4589 * ci wobble * Neater slang-llvm archive filename * Neater path for uploading artifacts * Neater ci names * Use Windows SDK 10.0.19041.0 in cmake builds
* Change to use cmake in centos7 build (#4572)kaizhangNV2024-07-09
|
* Add README.md and LICENSE to binary windows and macos packages (#4535)cheneym22024-07-03
| | | | | | | | | | | | | * Add missing README and LICENSE files to packages Add README.md and LICENSE to binary windows and macos packages. Fixes issue #4117 * Update macos.yml * Update release-macos.yml * Update windows.yml
* Enable upload asset for old glibc build (#4501)kaizhangNV2024-06-27
|
* Switch from ubuntu-18 to centos-7 for older glibc build (#4496)kaizhangNV2024-06-27
|
* Include examples in default build (#4482)venkataram-nv2024-06-27
| | | | | * Include examples in default build * Omit building examples on unnecessary CI workflows
* Enable full test on macos. (#4327)Yong He2024-06-12
| | | | | | | | | | | * Enable full test on macos. * Add failing test to expected list. * Fix CI script. * Update expected failure list. * Update test list.
* Make CTS failure report more obvious (#4302)kaizhangNV2024-06-07
|
* Fix build warnings and treat warnings as error on CI (#4276)Jay Kwak2024-06-06
| | | * Fix build warnings and treat warnings as error
* CTS: stage some known failure tests for now (#4226)kaizhangNV2024-05-27
| | | | | | | Stage some known failure test cases, will enable them back when the fix is merged. The failure tests can be checked in https://github.com/shader-slang/VK-GL-CTS/blob/main/test-lists/slang-waiver-tests.xml
* CTS: Report error when CTS fails (#4219)kaizhangNV2024-05-23
| | | | | | | The CTS nightly stops report error because of `continue-on-error` is set to true. Remove that field such that it will fail the job. Add slack notification about the CTS status, this will report the status of CTS nightly result to our slack dev channel.
* Update vk-gl-cts-nightly.yml (#4214)cheneym22024-05-23
| | | Increase timeout from 100 to 180 minutes
* [gfx] specify resource view buffer range in bytes (#4149)skallweitNV2024-05-13
| | | | | | | | | | | | | * refactor gfx buffer range to use byte range * create buffer view with zero struct stride for ClearUnorderedAccessViewUint/Float * create buffer descriptors on demand * avoid copying gfx.dll --------- Co-authored-by: Yong He <yonghe@outlook.com>
* Add github action to ensure PRs are labeled. (#4130)Yong He2024-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | * Add github action to ensure PRs are labeled. * Update. * Fix. * Fix * Fix * more Fix * more fix. * try. * fix * another try. --------- Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
* Fix macos CI and clang warnings. (#4019)Yong He2024-04-24
| | | | | | | | | | | | | * Fix macos CI. * Fix. * Fix. * Fix. * Fix clang warnings. * Fix more warnings.
* Switch to direct-to-spirv backend as default. (#4002)Yong He2024-04-23
| | | | | | | | | * Switch to direct-to-spirv backend as default. * Fix slang-test. * Fix. * Fix.
* Create a new release build for linux_x64. (#3989)kaizhangNV2024-04-19
|
* Disable sccache timestamps (#3937)Ellie Hermaszewska2024-04-12
| | | The timestamped caches were filling up the 10GB max cache size, removing the timestamps allows older ones to be overwritten instead
* Add nightly vkcts workflow (#3717)dzysk2024-03-12
| | | | | * Create vk-gl-cts-nightly.yml Action to run VK-GL-CTS expected slang passing test list nightly on schedule to run at 12am Pacific time.
* [SPIRV] Fix pointer lowering bug. (#3713)Yong He2024-03-07
| | | | | * [SPIRV] Fix pointer lowering bug. * Update falcor CI setting.
* Integrate compile & validation test (#3674)kaizhangNV2024-03-05
| | | Co-authored-by: Yong He <yonghe@outlook.com>