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

Add file formatting checks to CI #209

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

aaronfranke
Copy link
Contributor

@aaronfranke aaronfranke commented Sep 19, 2020

Follow-up to #208. The formatting script runs on every text file except for those in external/ and src/external/.

Fingers crossed that the CI checks will work, in previous implementations I had this script set up through GitHub Actions, but since this repo uses Azure Pipelines I wrote a config for that by copying the clang-format one. It doesn't seem that the new checks are running with this PR, that might change if it's merged but I'm not sure, I'm not familiar with Azure Pipelines.

Copy link
Contributor

@rpavlik rpavlik left a comment

Choose a reason for hiding this comment

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

Thanks for this! I have a few comments, but I do like the general idea and I have used it before the upcoming release despite not merging it yet.

file_format.sh Show resolved Hide resolved
.azure-pipelines/check_file_format.yml Outdated Show resolved Hide resolved
file_format.sh Outdated Show resolved Hide resolved
file_format.sh Show resolved Hide resolved
file_format.sh Show resolved Hide resolved
changes/sdk/pr.206.gh.OpenXR-SDK-Source.md Outdated Show resolved Hide resolved
file_format.sh Outdated Show resolved Hide resolved
file_format.sh Outdated Show resolved Hide resolved
file_format.sh Show resolved Hide resolved
@aaronfranke
Copy link
Contributor Author

@rpavlik Requesting review and merge. I'm not sure what else I can do with this PR, I've responded to your feedback as well as I can. I think the best course of action is to merge it, and then you can make any further changes as needed.

@rpavlik
Copy link
Contributor

rpavlik commented Dec 17, 2020

sorry for not merging this sooner - it looks good, I was just having some trouble getting it to run on our CI. I did run it before the last release, I think, despite not being able to merge. This one is on me now.

@rpavlik rpavlik merged commit f667247 into KhronosGroup:master Apr 2, 2021
@rpavlik
Copy link
Contributor

rpavlik commented Apr 2, 2021

Thanks - figured out my wsl problem and got it merged!

@aaronfranke aaronfranke deleted the format-ci branch April 2, 2021 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants