From 65b410376a039c8203c5a24f1c7d132ad6a0fc4a Mon Sep 17 00:00:00 2001 From: Ashar Khan Date: Thu, 6 Aug 2020 10:32:37 +0530 Subject: [PATCH 1/5] Ignore doc/ and markdown changes for CI --- .github/workflows/address_san.yml | 11 +++++++++-- .github/workflows/apple_clang.yml | 11 +++++++++-- .github/workflows/clangtidy_check.yml | 11 +++++++++-- .github/workflows/code_format.yml | 13 ++++++++++--- .github/workflows/linux_clang.yml | 14 +++++++++++--- .github/workflows/linux_gcc.yml | 11 +++++++++-- .github/workflows/thread_san.yml | 11 +++++++++-- .github/workflows/ub_san.yml | 11 +++++++++-- .github/workflows/windows_msvc.yml | 13 ++++++++++--- 9 files changed, 85 insertions(+), 21 deletions(-) diff --git a/.github/workflows/address_san.yml b/.github/workflows/address_san.yml index 25e77eab9..efac3aab9 100644 --- a/.github/workflows/address_san.yml +++ b/.github/workflows/address_san.yml @@ -5,8 +5,15 @@ name: Address Sanitizer # Trigger on Push to the repository, regardless of the branch. # For fine tune, You can add specific branches or tags. -on: [push, pull_request] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' jobs: build: name: "${{matrix.config.cxx}} -std=c++${{matrix.config.cxxstd}}" diff --git a/.github/workflows/apple_clang.yml b/.github/workflows/apple_clang.yml index fe7f43036..da1047330 100644 --- a/.github/workflows/apple_clang.yml +++ b/.github/workflows/apple_clang.yml @@ -4,8 +4,15 @@ name: Apple Clang -on: [push, pull_request] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' jobs: build: name: "Darwin 11.0 -std=c++${{matrix.cxxstd}}" diff --git a/.github/workflows/clangtidy_check.yml b/.github/workflows/clangtidy_check.yml index 45e51ea07..c3420971e 100644 --- a/.github/workflows/clangtidy_check.yml +++ b/.github/workflows/clangtidy_check.yml @@ -4,8 +4,15 @@ name: Clang tidy checks -on: [push] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' jobs: check: name: Clang tidy Check diff --git a/.github/workflows/code_format.yml b/.github/workflows/code_format.yml index 17f9a308c..f1ba49372 100644 --- a/.github/workflows/code_format.yml +++ b/.github/workflows/code_format.yml @@ -4,8 +4,15 @@ name: "Code Format" -on: [push, pull_request] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' jobs: format: name: "Code Formatting Check" @@ -21,4 +28,4 @@ jobs: run: clang-format-10 -i examples/tensor/*.cpp test/tensor/*.cpp include/boost/numeric/ublas/tensor/*.hpp include/boost/numeric/ublas/tensor/*/*.hpp - name: Check diff - run: git diff --exit-code HEAD \ No newline at end of file + run: git diff --exit-code HEAD diff --git a/.github/workflows/linux_clang.yml b/.github/workflows/linux_clang.yml index 0e3a19b6c..b8c642855 100644 --- a/.github/workflows/linux_clang.yml +++ b/.github/workflows/linux_clang.yml @@ -5,8 +5,16 @@ name: Linux Clang Release # Trigger on Push to the repository, regardless of the branch. # For fine tune, You can add specific branches or tags. -on: [push, pull_request] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' + jobs: build: name: "${{matrix.config.cxx}} -std=c++${{matrix.config.cxxstd}}" @@ -79,4 +87,4 @@ jobs: run: | cd $BOOST_ROOT cd libs/numeric/ublas - $BOOST_ROOT/b2 -j 4 test/tensor toolset=clang cxxstd=${{matrix.config.cxxstd}} cxxflags="-O3" \ No newline at end of file + $BOOST_ROOT/b2 -j 4 test/tensor toolset=clang cxxstd=${{matrix.config.cxxstd}} cxxflags="-O3" diff --git a/.github/workflows/linux_gcc.yml b/.github/workflows/linux_gcc.yml index 8a071efa7..7da00063d 100644 --- a/.github/workflows/linux_gcc.yml +++ b/.github/workflows/linux_gcc.yml @@ -5,8 +5,15 @@ name: Linux GCC Debug # Trigger on Push to the repository, regardless of the branch. # For fine tune, You can add specific branches or tags. -on: [push, pull_request] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' jobs: build: name: "${{matrix.config.cxx}} -std=c++${{matrix.config.cxxstd}}" diff --git a/.github/workflows/thread_san.yml b/.github/workflows/thread_san.yml index 6bd0c928f..128a337eb 100644 --- a/.github/workflows/thread_san.yml +++ b/.github/workflows/thread_san.yml @@ -5,8 +5,15 @@ name: Thread Sanitizer # Trigger on Push to the repository, regardless of the branch. # For fine tune, You can add specific branches or tags. -on: [push, pull_request] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' jobs: build: name: "${{matrix.config.cxx}} -std=c++${{matrix.config.cxxstd}}" diff --git a/.github/workflows/ub_san.yml b/.github/workflows/ub_san.yml index 0cf8f22b7..52db9fd17 100644 --- a/.github/workflows/ub_san.yml +++ b/.github/workflows/ub_san.yml @@ -5,8 +5,15 @@ name: Undefined Behaviour Sanitizer # Trigger on Push to the repository, regardless of the branch. # For fine tune, You can add specific branches or tags. -on: [push, pull_request] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' jobs: build: name: "${{matrix.config.cxx}} -std=c++${{matrix.config.cxxstd}}" diff --git a/.github/workflows/windows_msvc.yml b/.github/workflows/windows_msvc.yml index b066f4151..8ba306f9d 100644 --- a/.github/workflows/windows_msvc.yml +++ b/.github/workflows/windows_msvc.yml @@ -3,8 +3,15 @@ # (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) name: "Windows MSVC" -on: [push, pull_request] - +on: + push: + paths-ignore: + - '**.md' + - 'doc/**' + pull_request: + paths-ignore: + - '**.md' + - 'doc/**' jobs: build: name: "${{matrix.config.version}} -std=c++${{matrix.config.cxxstd}}" @@ -82,4 +89,4 @@ jobs: cd %BOOST_ROOT% cd libs\numeric\ublas %BOOST_ROOT%\b2 -j 4 test/tensor toolset=%TOOLSET% cxxstd=${{matrix.config.cxxstd}} address-model=64 - \ No newline at end of file + From 4f48231ccb84e89ed3dcc8ffdf20f774f6549d52 Mon Sep 17 00:00:00 2001 From: Ashar Date: Thu, 6 Aug 2020 10:36:41 +0530 Subject: [PATCH 2/5] Test Boost ignore --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 22ae6db18..09763ad52 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Boost Linear and Multilinear Algebra Library +oost Linear and Multilinear Algebra Library ===== [![Language](https://img.shields.io/badge/C%2B%2B-11-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) From 8de01be284ffe168d31afeb26337d248b2bfefa3 Mon Sep 17 00:00:00 2001 From: Ashar Date: Thu, 6 Aug 2020 10:38:05 +0530 Subject: [PATCH 3/5] Test doc ignore --- doc/blas.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/blas.html b/doc/blas.html index 07573e835..e37159384 100644 --- a/doc/blas.html +++ b/doc/blas.html @@ -1,4 +1,4 @@ - + From cba657ca3a38bbca1c7299e17e43cddcd1546b67 Mon Sep 17 00:00:00 2001 From: Ashar Date: Thu, 6 Aug 2020 10:39:25 +0530 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09763ad52..22ae6db18 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -oost Linear and Multilinear Algebra Library +Boost Linear and Multilinear Algebra Library ===== [![Language](https://img.shields.io/badge/C%2B%2B-11-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) From 60be7a0b49112fc52a62222c61a318aa34bb9354 Mon Sep 17 00:00:00 2001 From: Ashar Date: Thu, 6 Aug 2020 10:39:44 +0530 Subject: [PATCH 5/5] Update blas.html --- doc/blas.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/blas.html b/doc/blas.html index e37159384..07573e835 100644 --- a/doc/blas.html +++ b/doc/blas.html @@ -1,4 +1,4 @@ - +