X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=.github%2Fworkflows%2Fcmake-build-ci.yml;h=594d8ffa1b1728417ae8a5ce91fafe5521294f5a;hb=db80327002e27589b29fe4bf353202904f373171;hp=7bb25a7ad4c7553740bcf74fa801d9164546a017;hpb=f013c48684ce1d405dc80815139b31282a2a48f5;p=awesomized%2Flibmemcached diff --git a/.github/workflows/cmake-build-ci.yml b/.github/workflows/cmake-build-ci.yml index 7bb25a7a..594d8ffa 100644 --- a/.github/workflows/cmake-build-ci.yml +++ b/.github/workflows/cmake-build-ci.yml @@ -99,6 +99,20 @@ jobs: - name: Failed tests log if: ${{ failure() }} run: cat build/Testing/Temporary/LastTest.log || true + - name: Notify Gitter (success) + if: ${{ success() }} + run: | + REF=$(basename ${GITHUB_REF}) + curl -sS "${{ secrets.GITTER }}" \ + --data-urlencode "level=info" \ + --data-urlencode "message=Github [${GITHUB_REPOSITORY}](https://github.com/${GITHUB_REPOSITORY}/commits/${REF}) (${REF}) [success](https://github.com/m6w6/libmemcached/runs/${GITHUB_RUN_ID}) (${{ job.container }}/${CXX})" + - name: Notify Gitter (failure) + if: ${{ failure() }} + run: | + REF=$(basename ${GITHUB_REF}) + curl -sS "${{ secrets.GITTER }}" \ + --data-urlencode "level=error" \ + --data-urlencode "message=Github [${GITHUB_REPOSITORY}](https://github.com/${GITHUB_REPOSITORY}/commits/${REF}) (${REF}) [failure](https://github.com/m6w6/libmemcached/runs/${GITHUB_RUN_ID}) (${{ job.container }}/${CXX})" - uses: codecov/codecov-action@v1.0.13 # sanitizer build @@ -161,6 +175,20 @@ jobs: - name: Failed tests log if: ${{ failure() }} run: cat build/Testing/Temporary/LastTest.log || true + - name: Notify Gitter (success) + if: ${{ success() }} + run: | + REF=$(basename ${GITHUB_REF}) + curl -sS "${{ secrets.GITTER }}" \ + --data-urlencode "level=info" \ + --data-urlencode "message=Github [${GITHUB_REPOSITORY}](https://github.com/${GITHUB_REPOSITORY}/commits/${REF}) (${REF}) [success](https://github.com/m6w6/libmemcached/runs/${GITHUB_RUN_ID}) (${{ job.container }}/${CXX})" + - name: Notify Gitter (failure) + if: ${{ failure() }} + run: | + REF=$(basename ${GITHUB_REF}) + curl -sS "${{ secrets.GITTER }}" \ + --data-urlencode "level=error" \ + --data-urlencode "message=Github [${GITHUB_REPOSITORY}](https://github.com/${GITHUB_REPOSITORY}/commits/${REF}) (${REF}) [failure](https://github.com/m6w6/libmemcached/runs/${GITHUB_RUN_ID}) (${{ job.container }}/${CXX})" # mac build dbg-mac: @@ -219,6 +247,20 @@ jobs: - name: Failed tests log if: ${{ failure() }} run: cat build/Testing/Temporary/LastTest.log || true + - name: Notify Gitter (success) + if: ${{ success() }} + run: | + REF=$(basename ${GITHUB_REF}) + curl -sS "${{ secrets.GITTER }}" \ + --data-urlencode "level=info" \ + --data-urlencode "message=Github [${GITHUB_REPOSITORY}](https://github.com/${GITHUB_REPOSITORY}/commits/${REF}) (${REF}) [success](https://github.com/m6w6/libmemcached/runs/${GITHUB_RUN_ID}) (${{ job.container }}/${CXX})" + - name: Notify Gitter (failure) + if: ${{ failure() }} + run: | + REF=$(basename ${GITHUB_REF}) + curl -sS "${{ secrets.GITTER }}" \ + --data-urlencode "level=error" \ + --data-urlencode "message=Github [${GITHUB_REPOSITORY}](https://github.com/${GITHUB_REPOSITORY}/commits/${REF}) (${REF}) [failure](https://github.com/m6w6/libmemcached/runs/${GITHUB_RUN_ID}) (${{ job.container }}/${CXX})" - uses: codecov/codecov-action@v1.0.13 # release builds @@ -349,3 +391,17 @@ jobs: - name: Failed tests log if: ${{ failure() }} run: cat build/Testing/Temporary/LastTest.log || true + - name: Notify Gitter (success) + if: ${{ success() }} + run: | + REF=$(basename ${GITHUB_REF}) + curl -sS "${{ secrets.GITTER }}" \ + --data-urlencode "level=info" \ + --data-urlencode "message=Github [${GITHUB_REPOSITORY}](https://github.com/${GITHUB_REPOSITORY}/commits/${REF}) (${REF}) [success](https://github.com/m6w6/libmemcached/runs/${GITHUB_RUN_ID}) (${{ job.container }}/${CXX})" + - name: Notify Gitter (failure) + if: ${{ failure() }} + run: | + REF=$(basename ${GITHUB_REF}) + curl -sS "${{ secrets.GITTER }}" \ + --data-urlencode "level=error" \ + --data-urlencode "message=Github [${GITHUB_REPOSITORY}](https://github.com/${GITHUB_REPOSITORY}/commits/${REF}) (${REF}) [failure](https://github.com/m6w6/libmemcached/runs/${GITHUB_RUN_ID}) (${{ job.container }}/${CXX})"