X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=.github%2Fworkflows%2Fcmake-build-ci.gen;h=99e0dd04071cfe9d27d446d5ec03af3adb85465b;hb=8ea8b1b7bd8a71d4a355a25fb8911c2b8ffec6d8;hp=dea4d8d7dff67476a869bc745d380ae7e09a72ad;hpb=a3b1e41174db7dad5214703c4fc5a5aa18329603;p=awesomized%2Flibmemcached diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index dea4d8d7..99e0dd04 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -103,7 +103,7 @@ function steps_setenv($os_vnd, $splat_map = null) { - name: Prepare environment (MinGW) if: env.CC_VND == 'mingw' run: | - echo "CMAKE_GENERATOR=\"MinGW Makefiles\"" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo 'CMAKE_GENERATOR="MinGW Makefiles"' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append $os_vers) { @@ -242,24 +242,10 @@ function steps_package() { } function steps_notify($os_vnd) { - if ($os_vnd !== "Windows") : ?> - - name: Notify Gitter (success) - if: ${{ success() && runner.os != 'Windows'}} - 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() && runner.os != 'Windows'}} - 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}})" + - name: Notify Gitter + run: bash .github/notify-gitter.sh ${{ secrets.GITTER }} ${{ job.status }} + # windows release builds windows: