Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Chris B 8711ee6e44
Update build artifact permissions (#5387)
I found other users reporting a similar issue:

https://github.com/actions/deploy-pages/issues/188

The root cause seems to be that the deploy-pages action changed to stop
correcting permissions problems in the upload since it was slowing down
deployment. The recommended fix is to set the permissions before
uploading the artifact.

Let's see if this works.

Fixes #5376
2023-07-05 16:05:24 +00:00
Chris B d599cd98b0
Introduce issue templates (#4984)
This change introduces three new issue templates for DXC. The three
issue templates are:

* feature_request - Issues filed with this template will get
automatically tagged with the `enhancement` label
* bug_report - Issues filed with this template will get automatically
get tagged with the `bug` label
* bug_report_spirv - Issues filed with this template will get
automatically tagged with the `bug` and `spirv` labels

The bug_report and bug_report_spirv templates are otherwise identical,
but could diverge to better meet the needs of the supporting teams.

Fixes #4975.
2023-06-29 17:23:54 +00:00
Xiang Li 06a7197e23
Enable lit by default. (#5133)
* Enable lit by default.

* Update README for git user bin.

* Add DXC_DISABLE_LIT to replace DXC_ENABLE_LIT

* Set -DDXC_DISABLE_LIT=Off for appveyor.

* Keep original name for ClangSPIRVTests

* Set correct path for unit tests binary.

* Remove doc about DXC_DISABLE_LIT

* Remove extra space.

* Remove DxcOnUnix.rst.
2023-06-05 10:35:24 -07:00
Chris B d06e2ab099
Add a github action to verify PR descriptions (#4971)
This action just verifies that PRs contain descriptions. Our policy
requires PR descriptions, but we don't have consistent application of
the policy. This should help correct that.
2023-01-26 14:20:48 -06:00
Daniele Vettorel 7f2cbf3fe1
Disable code coverage action on forks (#4948) 2023-01-24 11:09:28 -06:00
Chris B 36fdecf357
Update Linux build and test workflows to use lit (#4836)
* Update Linux build and test workflows to use lit

This change updates the build and test workflows in our azure pipelines
and the GitHub action for code coverage data to use lit instead of ctest
as the test runner. This adds additional test coverage by running some
of the LLVM & Clang tests.

* Fix missing dependency between LLVMAnalysis & DXIL

The default Linux linker fails because LLVMAnalysis depends on LLVMDXIL
and BFD doesn't cycle libraries.

* Updating pipelines to remove mkdir and cd

This just cleans up the pipeline shell commands to avoid unnecissary
mkdir and cd invocations.

Based on feedback from @Keenuts. Thanks!

* Disable LLVM LIT tests that use garbage collection

DXC disabled support for the LLVM garbage collection intrinsics.
2022-12-02 12:55:14 -06:00
Chris B 4f5b48e41a
Don't cancel in-progress coverage builds (#4821)
The coverage builds take a _long_ time to run on the standard GitHub
action bots. I initially thought cancelling and restarting was a good
idea and have since reconsidered...
2022-11-28 15:35:11 -06:00
Chris B d0e0aa92d7
Update GitHub workflow to (hopefully) work (#4812)
There were a few things missing in the initial attempt at this workflow. I left off the file extension for the CMake cache file, and also forgot to initialize the submodules.

Additionally using make is... slow. Using make `-j` causes the VM to run out of memory. To resolve those issues I'm installing ninja and using ninja instead. I'm also setting `LLVM_USE_LINKER=lld` to reduce linker memory usage and `LLVM_PARALLEL_LINK_JOBS=1` to only run one link at a time.

I've also added `--rerun-failed` and `--output-on-failure` to the ctest invocation so that if it fails we get some hopefully helpful output.
2022-11-28 11:16:55 -06:00
Chris f6f90d3066
Create action to generate code coverage (#4796)
This is a first stab at generating a github action to generate code coverage reports.
2022-11-21 13:40:34 -06:00