Commit Graph

218 Commits

Author SHA1 Message Date
John Demme ac8ea5d10c
[LLVM] Creates llvm build script to avoid replication (#267)
Closes #265.
2020-11-20 13:10:49 -08:00
John Demme 8a6d010f6b
Adds an integration testing workflow (#251)
Runs nightly or by request.
2020-11-19 16:35:57 -08:00
John Demme 4f44209b31
Fixing the workflow which GH broke (#250) 2020-11-16 21:22:33 -08:00
John Demme dc3b57de7e
Adding Verilator and a basic Verilator unit test (#179) 2020-10-30 13:12:15 -07:00
John Demme e36c597ad9
Fixing the auto request review feature (#149)
* Auto request reviewers

* Test successful. Reseting to final config.

* Updating pipeline names
2020-10-20 21:51:14 -07:00
mikeurbach 80aaf3e37f
Fix shell script for displaying clang-format and clang-tidy patches (#170) 2020-10-20 19:45:11 -06:00
John Demme eb7a738d57
Fix the lint steps in the GH workflow to compare against the target branch (#137)
* Fix the lint steps to compare against the target branch

It was apparantly comparing against the fork point. Two different
meanings of the work base I think. As a result, it would pick up
differences in the target branch since the fork point! Users would have
to merge before the PR to avoid this.

* Documentation and breaking lines longer than 80 columns

(when possible)

* Missed a backslash
2020-10-13 10:51:08 -07:00
John Demme 94de0a66c6
New CODEOWNERS format with auto review request (#144)
* New CODEOWNERS format with auto review request

* Workflow documentation
2020-10-12 23:28:07 -07:00
John Demme b78ee1f9ef
Revert "Test codeowner wflw herald (#142)" (#143)
This reverts commit 3115b8a313.
2020-10-12 18:22:35 -07:00
John Demme 3115b8a313
Test codeowner wflw herald (#142)
* Changing some of Amalee's code to test CODEOWNERS

* Workflow to automaticatly add reviewers

* Disabling ready_for_review

* Let's try herald

* Fixing workflow

* Totally messed up the format
2020-10-12 18:20:54 -07:00
John Demme e3500b04ed
Fixing the push case (#132)
Quick fix

I'm assuming we're operating under the LLVM developer policies which allow no-review for obvious fixes...
2020-10-08 16:15:52 -07:00
John Demme 2db18341c5
Add git fetch step to fix clang-* diffs (#129)
Committing w/o review to fix workflow bug quickly. Does no harm if not correct.

* Add git fetch step to fix clang-* diffs

* Fixing -path directory on clang-tidy-diff call

clang-tidy-diff aparantly only looks for the build database if there are
revelant changes in the diff.

* Gotta add flag to export compile_commands.json
2020-10-08 15:48:31 -07:00
John Demme 8d3d08fdf7
Adds clang-tidy to the workflow (#128) 2020-10-08 13:52:58 -07:00
John Demme 2d82d657fe
Changing cache key to increase cache-hit rate slightly (#127) 2020-10-08 12:07:48 -07:00
John Demme 8ad98b1dfd
Adding clang-format check on push and PR (#110) 2020-10-08 11:07:48 -07:00
Sora Morimoto 438fdef6e3
Update actions/cache to v2 (#64)
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2020-08-02 22:10:19 -07:00
stephenneuendorffer ad075335b8
Update LLVM version to c89e46e76 (#63)
* Update LLVM version to c89e46e76

A small fixup is required to avoid conflicts between ODS-generated build
methods because of default arguments.  Also, since this keeps failing, I've
updated the llvm cache so that it runs in a separate job.  Otherwise the cache is not updated when the CIRCT build fails.

* [LLHD] Add `SigType` conversion

* [LLHD] Add time type and constants conversion

Previously time constants were converted by their users, by creating a constant for each of the three time attributes. This makes time constants LLVM arrays containing the three time values instead, allowing more a more flexible use (e.g. passing time operands as block arguments).
* Add time type conversion.
* Add tme constants conversion.
* Add time operands to the process persistence state.
* Fix affected tests.

* [LLHD] Set LLVM::DialectCastOp as legal during `InstOp` lowering

This works around the PartialConversion failing because of the introduction of (unused) `DialectCastOps`, that will be dealt with later during the full conversion.

Co-authored-by: rodonisi <simon@rodoni.ch>
2020-07-31 11:32:38 -07:00
Tobias Grosser 8e45ce3728 Add CI using GitHub Action
This simple CI script builds CIRCT and runs 'make check-circt'.

The necessary LLVM submodule is automatically pulled and cached
to speed-up subsequent builds.
2020-06-29 05:16:07 +00:00