summaryrefslogtreecommitdiffstats
path: root/.github/workflows
Commit message (Collapse)AuthorAge
...
* Include slang-glsl-module.dll in releases, for precompiled glsl module. (#6239)Yong He2025-01-31
| | | | | | | | | | | * Distribute slang-glsl-module.bin in release packages. * Fix. * fix2. * Build glsl modlue into a dll. * Notarize glsl-modue.dylib
* DNI: try using sparse checkout for MDL-SDK (#6190)kaizhangNV2025-01-27
|
* Upgrade actions/upload-artifact from v3 to v4 (#6051)Jay Kwak2025-01-09
| | | | | | | | | | | | | | The version 3 of actions/upload-artifact will be deprecated soon. https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ This commit upgrades to v4. There is a document describing how to migrate/upgrade: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md The breaking change on v4 is that the uploaded files are immutable and we can no longer append files with the same name. We don't seem to be doing it so it should be fine for us. Closes #6050
* Add backtraces to examples (#5973)Anders Leino2025-01-07
| | | | | | | | | | | | | | | * examples: Log stack trace on exceptions For now, this is only implemented on Windows. This helps to address #5520. * examples: Print log file if there is any * format code --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> Co-authored-by: Yong He <yonghe@outlook.com>
* CI: Build the full slang-wasm.[js|wasm] targets instead of just the slang ↵Anders Leino2025-01-05
| | | | | | | | | | | | library. (#5998) A recent build breakage for slang-wasm.[js|wasm] was not noticed by CI since it built the slang library target instead of the slang-wasm.js "executable" target. (We added a that used objcopy to split debug info from executables. objcopy does not report errors when it finds object files with unexpected format inside static libraries, but it *does* report errors when it's run on an exceutable of unexpected format, such as in the case of slang-wasm.js.) This closes #5959.
* update CTS package (#5935)kaizhangNV2024-12-23
|
* Enable more examples in CI (#5915)Anders Leino2024-12-19
| | | | | | | | | | | | * CI: examples: Add support for filtering on platform * Add platform field to example run IDs - Remove the reflection-api entry for Windows. - Add 'aarch64' as platform for all 'macos' entries. - Add 'x86_64' as platform for all other entries. - This will implicitly enable all aarch64 tests for Linux. This helps to address issue #5520.
* Fix issues reported by 'shellcheck' (#5913)Anders Leino2024-12-19
| | | | | | | | | | | * Fix issues reported by 'shellcheck' This helps to address issue #5520. * format code --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
* Add slang example tests to CI (#5879)Anders Leino2024-12-18
| | | | | | | | | | | | * Examples: Don't proceed if 'initializeBase' fails * Examples: Only access gWindow if it's been initialized * Examples: Free memory from CommandLineToArgvW * Add example run step to CI Lots of examples are still unexpectedly failing, but is one small step towards addressing issue #5520.
* install mono for toc generation (#5877)Ellie Hermaszewska2024-12-16
| | | Closes https://github.com/shader-slang/slang/issues/5876
* use Release over RelWithDebInfo for ci (#5846)Ellie Hermaszewska2024-12-12
| | | | | This will necessetate changing the "required tests" setting on the GitHub repo Co-authored-by: Yong He <yonghe@outlook.com>
* Emit debug info for Release builds (#5783)Ellie Hermaszewska2024-12-06
| | | | | | | | | | | * Remove unnecessary warnings on windows * Correctly set debug flags on gcc * Emit debug info for Release builds * Perform LTO for relwithdebinfo builds * Release from release builds not relwithdebinfo
* Split debug info for all targets (#5732)Ellie Hermaszewska2024-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Split debug info for all targets Work towards https://github.com/shader-slang/slang/issues/5724 * release separate debug info Closes https://github.com/shader-slang/slang/issues/5724 * Add split debug info support for MacOS * Add SLANG_ENABLE_SPLIT_DEBUG_INFO option * Sign and package debug info on MacOS * Set --build-id where available * Correct debug info installing * Keep cpack macos signing workaround * Neaten cmake * Disable sccache if building split debug info on Windows * Only repack necessary files on MacOS releases
* Set prerelease and draft correctly for centos releases (#5769)Ellie Hermaszewska2024-12-05
|
* Set prerelease and draft correctly for releases with draft in the tag (#5763)Ellie Hermaszewska2024-12-05
|
* Relocate the step of 'Add bash to PATH' (#5759)kaizhangNV2024-12-04
| | | | | | | | | | * Relocate the step of 'Add bash to PATH' Relocate the step of 'Add bash to PATH' at beginning of the CI to avoid the issue of "bash command not found". * formatting * Do not remove 'Add bash to PATH' from common-setup
* Run a do-nothing CI job for documentation changes (#5747)Ellie Hermaszewska2024-12-04
| | | Closes https://github.com/shader-slang/slang/issues/5689
* Add Table of Contents check to CI, and bot script to regenerate (#5618)Ellie Hermaszewska2024-11-28
| | | | | | | | | | | | | * Sort filenames when generating table of contents The order of EnumerateFiles is unspecified * Add build table of contents bash script * Add toc checking to CI * Add --check-only option to toc checking * regenerate ToC
* Update workflow YML files for renamed files (#5688)Jay Kwak2024-11-27
| | | | | | | | Recently we renamed a few files and directories and they should be reflected on the workflow YAML files. - LICENCE is a typo of LICENSE. - We recently created a new "LICENSES/" - CONTRIBUTION.md was renamed to CONTRIBUTING.md Closes #5686
* ci: Use v1.11 of the release-downloader action (#5643)Bruce Mitchener2024-11-22
| | | | | | | CI was previous using different versions in different jobs but all were old and using a version of Node that has been deprecated within the GitHub Actions infrastructure. Co-authored-by: Yong He <yonghe@outlook.com>
* Enable core module embedding by default in CMake. (#5644)Kanashimia2024-11-22
| | | | | | It seems that release workflows were unexpectedly broken when STDLIB was renamed to CORE_MODULE. Changed the option default because I think it just makes more sense. Removed explicit calls to enable it. Fixed docs.
* ci: Update `actions/checkout` to always use v4 (#5634)Bruce Mitchener2024-11-21
| | | | | | CI was using a mix of version 3 and 4. Version 3 results in a warning within the GitHub Actions UI as it was using a version of NodeJS that is deprecated within the GitHub Actions infrastructure.
* lower permission level for format dispatch (#5523)Ellie Hermaszewska2024-11-08
|
* Update slang-rhi and fix error handling (#5485)cheneym22024-11-05
| | | | | | | | | | | | | | Update slang-rhi to pick up a fix in webgpu compilation error handling. In doRenderComparisonTestRun(), only return TestResult::Pass if the shader is ran actually compiled. A similar check is in place elsewhere in slang-test-main, but was missed in doRenderComparisonTestRun(). Add two tests to the github CI skiplist, and use the skiplist in one additional CI config that was running without it. Closes 5291
* fix release script (#5459)Ellie Hermaszewska2024-10-30
|
* format yaml and json (#5428)Ellie Hermaszewska2024-10-30
| | | | | * format yaml and json * format shell scripts
* Put debug symbols in releases (#5370)Ellie Hermaszewska2024-10-29
|
* preparation for clang format (#5422)Ellie Hermaszewska2024-10-29
| | | | | | | | | | | | | | | | | | | | | | | * Clang-format excludes * Add .clang-format * Don't clang-format in external * Missing includes and forward declarations * Replace wonky include-once macro name * neaten include naming * Add clang-format to formatting script * Add xargs and diff to required binaries * add clang-format to ci formatting check * Add max version check to formatting script * temporarily disable checking formatting for cpp files
* Check formatting in CI (#5409)Ellie Hermaszewska2024-10-29
| | | also add ci to check cmake formatting
* Correct URL in auto-format PR body (#5427)Ellie Hermaszewska2024-10-29
|
* Improvements to formatting bot (#5421)Ellie Hermaszewska2024-10-29
| | | | | | | | | * Use github token for formatting command dispatch * Open PR instead of committing directly when formatting * Add --no-version-check option to formatting script * Colorful diff output for cmake formatting
* Use github token for formatting command dispatch (#5418)Ellie Hermaszewska2024-10-26
|
* Actions workflow to format code on command (#5400)Ellie Hermaszewska2024-10-26
| | | | | | | * Add script to perform or check formatting * Actions workflow to format code on command Comment on a PR with /format
* Overhaul docgen tool and setup CI to generate stdlib reference. (#5232)Yong He2024-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Overhaul docgen tool and setup CI to generate stdlib reference. * Fix build error. * Write parsed doc for all decls. * fix. * fix callout. * Fix. * Fix comment. * Fix. * Delete obsolete doc tests. * Fix. * Categorize functions and types. * Fix CI. * Update comments.
* 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>
* 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.
* 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.