compile coverage with -O0
authorMichael Wallner <mike@php.net>
Fri, 2 Oct 2020 18:38:27 +0000 (20:38 +0200)
committerMichael Wallner <mike@php.net>
Fri, 2 Oct 2020 18:38:27 +0000 (20:38 +0200)
.github/workflows/cmake-build-ci.gen
.github/workflows/cmake-build-ci.yml

index 8175ac02aa05a84535f516c7f5a9bc8f08300aa7..325641d73365739f134f55e7705616127380a17d 100755 (executable)
@@ -208,8 +208,8 @@ jobs:
   ci-cov:
     runs-on: <?=DEF[DEF["os"]]?> #
     env:
-      CFLAGS: --coverage
-      CXXFLAGS: --coverage
+      CFLAGS: -O0 --coverage
+      CXXFLAGS: -O0 --coverage
     steps: 
       - uses: actions/checkout@v2
 <?php steps(); ?>
index 0beca08a4fafc51f7d68a2cc77806f984c3334d2..8a781be90a3d40d9facf28d4cde58d6299b3b312 100644 (file)
@@ -154,8 +154,8 @@ jobs:
   ci-cov:
     runs-on: ubuntu-20.04 #
     env:
-      CFLAGS: --coverage
-      CXXFLAGS: --coverage
+      CFLAGS: -O0 --coverage
+      CXXFLAGS: -O0 --coverage
     steps: 
       - uses: actions/checkout@v2
       - name: Prepare environment (for cur gnu on ubuntu-20.04)