mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Include top level cmakelist and fix formatting
This commit is contained in:
14
.github/workflows/cmake-format.yml
vendored
14
.github/workflows/cmake-format.yml
vendored
@@ -12,18 +12,20 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check format - ApplicationLibCode
|
||||
run: |
|
||||
~/.local/bin/cmake-format -c ${{ github.workspace }}/cmake/cmake-format.py -i CMakeLists.txt
|
||||
|
||||
cd ApplicationLibCode
|
||||
find -name CMake*.txt | xargs ~/.local/bin/cmake-format -c ${{ github.workspace }}/cmake/cmake-format.py -i
|
||||
git diff
|
||||
- name: Check format - ApplicationExeCode
|
||||
run: |
|
||||
cd ..
|
||||
|
||||
cd ApplicationExeCode
|
||||
find -name CMake*.txt | xargs ~/.local/bin/cmake-format -c ${{ github.workspace }}/cmake/cmake-format.py -i
|
||||
git diff
|
||||
- name: Check format - AppFwk
|
||||
run: |
|
||||
cd ..
|
||||
|
||||
cd Fwk/AppFwk
|
||||
find -name CMake*.txt | xargs ~/.local/bin/cmake-format -c ${{ github.workspace }}/cmake/cmake-format.py -i
|
||||
cd ..
|
||||
|
||||
git diff
|
||||
- uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user