X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=.github%2Fworkflows%2Fcmake-build-ci.yml;h=b6cc23dcfc0de4424d5d99bd8260adbb8f6d2363;hb=08f36a77850ee38a5e6eacba23bd252a7678b788;hp=b45102c117484a7708abf3047406b641a80ad9e7;hpb=fed1549935efe09e5f14e44f9bbcd47bf84b7aaa;p=m6w6%2Flibmemcached diff --git a/.github/workflows/cmake-build-ci.yml b/.github/workflows/cmake-build-ci.yml index b45102c1..b6cc23dc 100644 --- a/.github/workflows/cmake-build-ci.yml +++ b/.github/workflows/cmake-build-ci.yml @@ -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