From 64d3ae27ee9850f4ffc29ad0a4b2ddca94052839 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sun, 14 Nov 2021 13:13:06 +0100 Subject: [PATCH 1/6] Enable Coverage and page Signed-off-by: Bensuperpc --- .github/workflows/base.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index b70c0be..5d5a9e3 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -44,7 +44,7 @@ jobs: # placeholder to your GitHub name. # If you do not wish to use codecov, then simply delete this job from the # workflow. - if: github.repository_owner == '' + if: github.repository_owner == 'bensuperpc' && false steps: @@ -173,9 +173,7 @@ jobs: # If you do not wish to use GitHub Pages for deploying documentation, then # simply delete this job similarly to the coverage one. if: github.ref == 'refs/heads/master' - && github.event_name == 'push' - && github.repository_owner == '' - && false + && github.repository_owner == 'bensuperpc' steps: - name: "Checkout Code" From 29a5d5cb4b0652a10d426cfd6ddf5e6c655aeb3a Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sun, 14 Nov 2021 13:17:13 +0100 Subject: [PATCH 2/6] Update CI trigger Signed-off-by: Bensuperpc --- .github/workflows/base.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index 5d5a9e3..bbcb60b 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -3,11 +3,13 @@ name: Continuous Integration on: push: branches: - - master - + - "*" + paths-ignore: + - "**.md" pull_request: branches: - - master + - "*" + workflow_dispatch: jobs: lint: From 9e71b48b7e232b52ec67e3743eb1ca2d94ca61ea Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sun, 14 Nov 2021 13:26:50 +0100 Subject: [PATCH 3/6] FIx Coverage Signed-off-by: Bensuperpc --- .github/workflows/base.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index bbcb60b..11ef512 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -47,7 +47,6 @@ jobs: # If you do not wish to use codecov, then simply delete this job from the # workflow. if: github.repository_owner == 'bensuperpc' - && false steps: - name: "Checkout Code" From a0ce9c6ccf21070c3127ca14c9a60767d898a8bb Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sun, 14 Nov 2021 13:53:58 +0100 Subject: [PATCH 4/6] Fic doc Signed-off-by: Bensuperpc --- .github/workflows/base.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index 11ef512..7e9b6ea 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -173,7 +173,7 @@ jobs: # this comment and the last line in the conditional below. # If you do not wish to use GitHub Pages for deploying documentation, then # simply delete this job similarly to the coverage one. - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' && github.repository_owner == 'bensuperpc' steps: From 70a75f270439e4c266dbbdbf4c2604bf30f93672 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Wed, 17 Nov 2021 16:51:57 +0100 Subject: [PATCH 5/6] Fix new branch for google test Signed-off-by: Bensuperpc --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 511c71c..3900aff 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT WIN32) FetchContent_Declare( googletest GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG master) + GIT_TAG main) FetchContent_Declare( googlebenchmark From bf676b4bdfdbcdfdb028609e86c98815373757dd Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Wed, 17 Nov 2021 16:52:53 +0100 Subject: [PATCH 6/6] Fix warning Signed-off-by: Bensuperpc --- CMakePresets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakePresets.json b/CMakePresets.json index 451c0cb..b5c41da 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -61,7 +61,7 @@ "hidden": true, "cacheVariables": { "CMAKE_CXX_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow -Wold-style-cast", - "CMAKE_C_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow -Wold-style-cast" + "CMAKE_C_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow" } }, {