aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2020-10-02 13:49:17 +0200
committerJan Niklas Hasse <jhasse@bixense.com>2020-10-02 13:49:17 +0200
commite14c2552e9db71f12dcc0686cac5587e4e3d2366 (patch)
tree446507442ef7b31f195d6df785b2f66125cfe6bc
parent18df4d1e5dbd905507476d92351a2f8010a49356 (diff)
downloadninja-e14c2552e9db71f12dcc0686cac5587e4e3d2366.tar.gz
Revert "Merge pull request #1768 from jhasse/github-actions-lint"
This reverts commit 18df4d1e5dbd905507476d92351a2f8010a49356, reversing changes made to 54959b0f2c4950d97d94c03810b3b5185be0d69e.
-rw-r--r--.clang-tidy11
-rw-r--r--.github/workflows/linux.yml52
2 files changed, 0 insertions, 63 deletions
diff --git a/.clang-tidy b/.clang-tidy
deleted file mode 100644
index 8968011..0000000
--- a/.clang-tidy
+++ /dev/null
@@ -1,11 +0,0 @@
----
-Checks: '
- ,readability-avoid-const-params-in-decls,
- ,readability-non-const-parameter,
- ,readability-redundant-string-cstr,
-'
-WarningsAsErrors: '
- ,readability-avoid-const-params-in-decls,
- ,readability-non-const-parameter,
- ,readability-redundant-string-cstr,
-'
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 4f31a7a..71cd06e 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -57,55 +57,3 @@ jobs:
asset_path: ./artifact/ninja-linux.zip
asset_name: ninja-linux.zip
asset_content_type: application/zip
-
- test:
- runs-on: [ubuntu-20.04]
- steps:
- - uses: actions/checkout@v2
- - name: Install dependencies
- run: |
- sudo apt update
- sudo apt install -y python3-pytest ninja-build clang-tidy
- pip install cmake==3.17.*
-
- - name: Configure (GCC)
- run: cmake -Bbuild-gcc -DCMAKE_BUILD_TYPE=Debug -G'Ninja Multi-Config'
-
- - name: Build (GCC, Debug)
- run: cmake --build build-gcc --config Debug
- - name: Unit tests (GCC, Debug)
- run: ./build-gcc/Debug/ninja_test
- - name: Python tests (GCC, Debug)
- run: pytest-3 --color=yes ../..
- working-directory: build-gcc/Debug
-
- - name: Build (GCC, Release)
- run: cmake --build build-gcc --config Release
- - name: Unit tests (GCC, Release)
- run: ./build-gcc/Release/ninja_test
- - name: Python tests (GCC, Release)
- run: pytest-3 --color=yes ../..
- working-directory: build-gcc/Release
-
- - name: Configure (Clang)
- run: CC=clang CXX=clang++ cmake -Bbuild-clang -DCMAKE_BUILD_TYPE=Debug -G'Ninja Multi-Config' -DCMAKE_EXPORT_COMPILE_COMMANDS=1
-
- - name: Build (Clang, Debug)
- run: cmake --build build-clang --config Debug
- - name: Unit tests (Clang, Debug)
- run: ./build-clang/Debug/ninja_test
- - name: Python tests (Clang, Debug)
- run: pytest-3 --color=yes ../..
- working-directory: build-clang/Debug
-
- - name: Build (Clang, Release)
- run: cmake --build build-clang --config Release
- - name: Unit tests (Clang, Release)
- run: ./build-clang/Release/ninja_test
- - name: Python tests (Clang, Release)
- run: pytest-3 --color=yes ../..
- working-directory: build-clang/Release
-
- - name: clang-tidy
- run: /usr/lib/llvm-10/share/clang/run-clang-tidy.py -header-filter=src
- working-directory: build-clang