generated from ut-issl/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from ut-issl/develop
Update main (v2.0.0) on 2023-04-09: S2E Core v6.0.0 対応版
- Loading branch information
Showing
32 changed files
with
773 additions
and
682 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: check format | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
pull_request: | ||
paths: | ||
- '.github/workflows/check-format.yml' | ||
- '.clang-format' | ||
- 'src/**' | ||
|
||
jobs: | ||
clang-format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: install clang-format | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y clang-format | ||
clang-format --version | ||
- name: check clang-format version | ||
run: | | ||
clang-format --version | ||
md5sum "$(which git-clang-format)" | ||
head "$(which git-clang-format)" | ||
- name: check format(push) | ||
if: github.event_name == 'push' | ||
run: | | ||
git-clang-format --commit HEAD^ --diff | tee format.patch | ||
- name: check format(pull_request) | ||
if: github.event_name == 'pull_request' | ||
run: | | ||
git-clang-format --commit ${{ github.event.pull_request.base.sha }} --diff | tee format.patch | ||
- name: check | ||
run: | | ||
git apply --allow-empty format.patch | ||
git status | ||
git diff --exit-code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.