Commit Graph

6 Commits

Author SHA1 Message Date
Kévin Petit
ddbb0de4b9 ci: use ubuntu-22.04 instead of 20.04 (#1795)
* ci: use ubuntu-22.04 instead of 20.04

Signed-off-by: Kevin Petit <kevin.petit@arm.com>

* bump clang-format version

Oldest supported by 22.04

* update check-format script

---------

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2023-08-22 18:13:22 +01:00
Alastair Murray
d36196b662 Update format script and drop Travis badge for branch rename (#1393)
`master` is now `main`, so update `check-format.sh` accordingly.

Also completely drop the Travis badge as we now use GitHub actions.  There is
no replacement badge as the current action is pre-submission, not
post-submission.
2022-03-02 18:27:52 +00:00
ellnor01
42d58be9a3 Use clang-format-9 binary in Github Actions (#1088)
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
2021-01-04 15:20:55 +00:00
ellnor01
794e9ebe50 Add argument to specify branch for clang-format check (#761)
If a change is not added to an origin/master branch, an argument
can be used to specify the relevant branch name for the clang-format
comparison.

Change-Id: I8ce712d077bf4d048a04a29c12bc2cb45e4abb93
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
2020-05-04 14:25:28 -04:00
James Price
da7c1b3498 Use clang-format-9 for Travis CI formatting checks (#736) 2020-04-15 22:05:00 +01:00
James Price
f413103970 Add clang-format config and check-format.sh script (#724)
* Add clang-format config and check-format.sh script

Travis CI is now configured to run check-format.sh and the job will
fail if any format violations are detected. This will only check the
format of new/modified code; existing code that violates the format
will not cause a CI failure.

* Make format checking the first Travis CI job

* Tweak format based on Jeremy's preferences

* Tweak format based on Kevin's preferences
2020-04-15 15:46:39 +01:00