testing: ++
[m6w6/libmemcached] / .github / workflows / cmake-build-ci.yml
index b45102c117484a7708abf3047406b641a80ad9e7..b6cc23dcfc0de4424d5d99bd8260adbb8f6d2363 100644 (file)
@@ -6,6 +6,7 @@ on:
       - "docs/**"
       - ".travis.yml"
       - ".cirrus.yml"
+      - ".github/workflows/docs*"
     branches-ignore:
       - gh-pages
   pull_request:
@@ -91,7 +92,7 @@ jobs:
       - name: Test
         run: make -C build -j2 test
       - name: Install
-        run: make -C build -j2 install DESTDIR=.
+        run: make -C build -j2 install DESTDIR=/tmp
       - name: Failed tests log
         if: ${{ failure() }}
         run: cat build/Testing/Temporary/LastTest.log || true
@@ -152,7 +153,7 @@ jobs:
       - name: Test
         run: make -C build -j2 test
       - name: Install
-        run: make -C build -j2 install DESTDIR=.
+        run: make -C build -j2 install DESTDIR=/tmp
       - name: Failed tests log
         if: ${{ failure() }}
         run: cat build/Testing/Temporary/LastTest.log || true
@@ -214,7 +215,7 @@ jobs:
       - name: Test
         run: make -C build -j2 test
       - name: Install
-        run: make -C build -j2 install DESTDIR=.
+        run: make -C build -j2 install DESTDIR=/tmp
       - name: Failed tests log
         if: ${{ failure() }}
         run: cat build/Testing/Temporary/LastTest.log || true
@@ -224,6 +225,9 @@ jobs:
   dbg-mac:
     name: dbg-mac (macos-10.15, clang, apple)
     runs-on: macos-10.15 #
+    env:
+      CFLAGS: -O0 --coverage
+      CXXFLAGS: -O0 --coverage
     continue-on-error: true
     steps:
       - uses: actions/checkout@v2
@@ -270,10 +274,11 @@ jobs:
       - name: Test
         run: make -C build -j2 test
       - name: Install
-        run: make -C build -j2 install DESTDIR=.
+        run: make -C build -j2 install DESTDIR=/tmp
       - name: Failed tests log
         if: ${{ failure() }}
         run: cat build/Testing/Temporary/LastTest.log || true
+      - uses: codecov/codecov-action@v1.0.13
 
   # release builds
   release:
@@ -399,7 +404,7 @@ jobs:
       - name: Test
         run: make -C build -j2 test
       - name: Install
-        run: make -C build -j2 install DESTDIR=.
+        run: make -C build -j2 install DESTDIR=/tmp
       - name: Failed tests log
         if: ${{ failure() }}
         run: cat build/Testing/Temporary/LastTest.log || true