X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=.github%2Fworkflows%2Fcmake-build-ci.gen;h=a26c8564761f544b5267c3527accb9864d3d9ea9;hb=21e20f73898b5f47e6cbd866beb95e95d6bf1215;hp=6f7c48a18e27d1129f740ce228efdb909bd78bbd;hpb=96fce03b6aeece751471d10af766e1a195701b45;p=awesomized%2Flibmemcached diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index 6f7c48a1..a26c8564 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -165,17 +165,37 @@ function steps_build() { - 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 + - 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/actions/runs/${GITHUB_RUN_ID}) (${ImageOS}/${CC:-${CC_VND}-${CC_VER}})" + - 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/actions/runs/${GITHUB_RUN_ID}) (${ImageOS}/${CC:-${CC_VND}-${CC_VER}})" + + - uses: codecov/codecov-action@v1.0.13 # sanitizer build dbg-san: @@ -241,26 +266,22 @@ jobs: - uses: actions/checkout@v2 - # coverage build - dbg-cov: - name: dbg-cov () - runs-on: # - env: - CFLAGS: -O0 --coverage - CXXFLAGS: -O0 --coverage - steps: - - uses: actions/checkout@v2 - - - uses: codecov/codecov-action@v1.0.13 - # mac build dbg-mac: name: dbg-mac (, , ) runs-on: # + env: + CFLAGS: -O0 --coverage + CXXFLAGS: -O0 --coverage + OS_VND: macOS + OS_VER: # + CC_VND: # + CC_VER: # continue-on-error: true steps: - uses: actions/checkout@v2 + - uses: codecov/codecov-action@v1.0.13 # release builds release: