Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using Github Actions CI #1690

Merged
merged 1 commit into from
Dec 16, 2020
Merged

Conversation

jackkoenig
Copy link
Contributor

@jackkoenig jackkoenig commented Dec 3, 2020

Currently WIP, this is partially in the interest of reducing the number of CI vendors for Chisel Working Group Projects. Once this is done we can turn on auto publishing of SNAPSHOTs as in chipsalliance/treadle#277

Notably, this no longer builds dependencies (firrtl and treadle) from source. Those projects publish up-to-date SNAPSHOTs on every push to a release branch and master, so there's no need to build them.

Contributor Checklist

  • [NA] Did you add Scaladoc to every public function/method?
  • Did you add at least one test demonstrating the PR?
  • Did you delete any extraneous printlns/debugging code?
  • Did you specify the type of improvement?
  • [NA] Did you add appropriate documentation in docs/src?
  • Did you state the API impact?
  • Did you specify the code generation impact?
  • Did you request a desired merge strategy?
  • [NA] Did you add text to be included in the Release Notes for this change?

Type of Improvement

  • code refactoring

API Impact

No impact

Backend Code Generation Impact

No impact

Desired Merge Strategy

  • Squash

Release Notes

Reviewer Checklist (only modified by reviewer)

  • Did you add the appropriate labels?
  • Did you mark the proper milestone (3.2.x, 3.3.x, 3.4.0, 3.5.0) ?
  • Did you review?
  • Did you check whether all relevant Contributor checkboxes have been checked?
  • Did you mark as Please Merge?

@jackkoenig
Copy link
Contributor Author

Anyway, this experiment seems to have been successful. It has the same problem as we have in chisel-testers2 where caching of downloaded dependencies doesn't quite seem to be working, but it is fast enough it isn't a huge issue.

@jackkoenig jackkoenig force-pushed the switch-to-github-actions branch from 0ef38e5 to f18575a Compare December 16, 2020 03:04
@jackkoenig jackkoenig added this to the 3.2.x milestone Dec 16, 2020
@jackkoenig jackkoenig marked this pull request as ready for review December 16, 2020 03:06
@jackkoenig jackkoenig requested a review from chick December 16, 2020 03:06
MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.

.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:

conditions:
  - status-success=all tests passed
branches:
  - 3.2.x
  - 3.3.x
  - 3.4.x
@jackkoenig jackkoenig force-pushed the switch-to-github-actions branch from f18575a to 8b8f38a Compare December 16, 2020 03:08
@jackkoenig
Copy link
Contributor Author

@ekiwi @chick This is ready to go. When we delete .circleci/config.yml, Github will report ci/circleci: Build Error until we delete the webhook from repo settings. My thought is to get this merged with redundant CI, then delete the webhook, then delete .circleci/config.yml in a follow on PR. I also intend to add SNAPSHOT publishing after that.

This will conflict upon backporting with the build.sbt files; I will resolve the conflicts.

Copy link
Contributor

@chick chick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@ekiwi ekiwi added the Please Merge Accepted PRs that are ready to be merged. Useful when waiting on CI. label Dec 16, 2020
@jackkoenig jackkoenig merged commit 25a417f into master Dec 16, 2020
@jackkoenig
Copy link
Contributor Author

@Mergifyio backport 3.4.x 3.3.x 3.2.x

mergify bot pushed a commit that referenced this pull request Dec 16, 2020
MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.

.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:

conditions:
  - status-success=all tests passed
branches:
  - 3.2.x
  - 3.3.x
  - 3.4.x
(cherry picked from commit 25a417f)

# Conflicts:
#	.mergify.yml
#	build.sbt
#	project/plugins.sbt
mergify bot pushed a commit that referenced this pull request Dec 16, 2020
MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.

.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:

conditions:
  - status-success=all tests passed
branches:
  - 3.2.x
  - 3.3.x
  - 3.4.x
(cherry picked from commit 25a417f)

# Conflicts:
#	.mergify.yml
#	build.sbt
#	project/plugins.sbt
mergify bot pushed a commit that referenced this pull request Dec 16, 2020
MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.

.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:

conditions:
  - status-success=all tests passed
branches:
  - 3.2.x
  - 3.3.x
  - 3.4.x
(cherry picked from commit 25a417f)

# Conflicts:
#	.mergify.yml
#	build.sbt
#	project/plugins.sbt
@mergify
Copy link
Contributor

mergify bot commented Dec 16, 2020

Command backport 3.4.x 3.3.x 3.2.x: success

Backports have been created

jackkoenig added a commit that referenced this pull request Dec 17, 2020
* Switch to using Github Actions CI (#1690)

MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.

.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:

conditions:
  - status-success=all tests passed
branches:
  - 3.2.x
  - 3.3.x
  - 3.4.x
(cherry picked from commit 25a417f)

# Conflicts:
#	.mergify.yml
#	build.sbt
#	project/plugins.sbt

* Resolve merge conflicts

Co-authored-by: Jack Koenig <[email protected]>
jackkoenig added a commit that referenced this pull request Dec 17, 2020
* Switch to using Github Actions CI (#1690)

MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.

.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:

conditions:
  - status-success=all tests passed
branches:
  - 3.2.x
  - 3.3.x
  - 3.4.x
(cherry picked from commit 25a417f)

# Conflicts:
#	.mergify.yml
#	build.sbt
#	project/plugins.sbt

* Resolve merge conflicts

* Remove mdoc check from GithubActions

This test was added in 3.4

Co-authored-by: Jack Koenig <[email protected]>
jackkoenig added a commit that referenced this pull request Dec 17, 2020
* Switch to using Github Actions CI (#1690)

MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.

.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:

conditions:
  - status-success=all tests passed
branches:
  - 3.2.x
  - 3.3.x
  - 3.4.x
(cherry picked from commit 25a417f)

# Conflicts:
#	.mergify.yml
#	build.sbt
#	project/plugins.sbt

* Resolve merge conflicts and remove docs tests

Docs tests were added in 3.4

Co-authored-by: Jack Koenig <[email protected]>
@jackkoenig jackkoenig deleted the switch-to-github-actions branch January 20, 2021 01:44
jackkoenig pushed a commit that referenced this pull request Feb 28, 2023
This should speed up the common case
as the compiler never operates on the
unescaped string.
The new escape function also fixes a bug
where ']' was not escaped even though it
is the delimiting character for FileInfo.
In order to maintain backwards
compatibility for the ProtoBuf format,
this patch adds escape/unescape calls
when going from/to protobuf format.
For better performance we should consider
changing the protobuf format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Please Merge Accepted PRs that are ready to be merged. Useful when waiting on CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants