Skip to content

Commit 86e5ead

Browse files
committed
ci: remove codecov
1 parent 994a414 commit 86e5ead

File tree

4 files changed

+8
-224
lines changed

4 files changed

+8
-224
lines changed

.github/workflows/cmake-build-ci.gen

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -421,46 +421,6 @@ jobs:
421421
fetch-depth: ${{ matrix.memcached != 'master' }}
422422
<?php steps("Linux"); ?>
423423

424-
# coverage linux
425-
debug-coverage-linux:
426-
name: debug coverage (<?=defaults()?>)
427-
runs-on: <?=DEF[DEF["os"]]?> #
428-
env:
429-
CMAKE_BUILD_TYPE: "Debug"
430-
BUILD_TESTING: "ON"
431-
VERBOSE: "ON"
432-
CFLAGS: "-O0 --coverage"
433-
CXXFLAGS: "-O0 --coverage"
434-
INSTALL_MEMCACHED: ""
435-
MEMCACHED_PREFIX: "/tmp"
436-
ENABLE_SASL: "ON"
437-
steps:
438-
- uses: actions/checkout@v3
439-
- uses: actions/checkout@v3
440-
with:
441-
repository: memcached/memcached
442-
path: memcached
443-
ref: 1.6.39
444-
<?php steps("Linux"); ?>
445-
- uses: codecov/codecov-action@v3
446-
447-
# coverage mac
448-
debug-coverage-mac:
449-
name: debug coverage (<?=defaults("macOS")?>)
450-
runs-on: <?=DEF["macOS"]?> #
451-
env:
452-
CMAKE_BUILD_TYPE: "Debug"
453-
BUILD_TESTING: "ON"
454-
VERBOSE: "ON"
455-
CFLAGS: "-O0 --coverage"
456-
CXXFLAGS: "-O0 --coverage"
457-
<?php env_override("macOS")?>
458-
continue-on-error: true
459-
steps:
460-
- uses: actions/checkout@v3
461-
<?php steps("macOS", false); ?>
462-
- uses: codecov/codecov-action@v3
463-
464424
# mac release builds
465425
mac:
466426
name: release

.github/workflows/cmake-build-ci.yml

Lines changed: 0 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -206,162 +206,6 @@ jobs:
206206
cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target package
207207
cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target push-artifacts
208208
209-
# coverage linux
210-
debug-coverage-linux:
211-
name: debug coverage (ubuntu-24.04, gnu)
212-
runs-on: ubuntu-24.04 #
213-
env:
214-
CMAKE_BUILD_TYPE: "Debug"
215-
BUILD_TESTING: "ON"
216-
VERBOSE: "ON"
217-
CFLAGS: "-O0 --coverage"
218-
CXXFLAGS: "-O0 --coverage"
219-
INSTALL_MEMCACHED: ""
220-
MEMCACHED_PREFIX: "/tmp"
221-
ENABLE_SASL: "ON"
222-
steps:
223-
- uses: actions/checkout@v3
224-
- uses: actions/checkout@v3
225-
with:
226-
repository: memcached/memcached
227-
path: memcached
228-
ref: 1.6.39
229-
- name: Prepare environment (for cur gnu on ubuntu-24.04)
230-
if: (env.OS_VER=='ubuntu-24.04') && (env.CC_VND=='gnu') && (env.CC_VER=='cur')
231-
run: |
232-
echo CC="gcc-13" >> ${GITHUB_ENV}
233-
echo CXX="g++-13" >> ${GITHUB_ENV}
234-
- name: Install dependencies (Linux)
235-
if: runner.os == 'Linux'
236-
run: |
237-
sudo apt-get update -y
238-
sudo apt-get install -my \
239-
libevent-dev \
240-
libsasl2-dev \
241-
libtbb-dev \
242-
python3-sphinx \
243-
${INSTALL_MEMCACHED} \
244-
${INSTALL_CC} ${INSTALL_CXX}
245-
sudo systemctl stop memcached || true
246-
- name: Build memcached
247-
if: runner.os != 'Windows'
248-
run: |
249-
if test -d memcached
250-
then
251-
cd memcached
252-
./autogen.sh
253-
cp configure{,.old} && sed -e 's/-Werror//g' <configure.old >configure
254-
./configure CFLAGS="-O2 -pipe -fcommon" \
255-
--prefix=${MEMCACHED_PREFIX} \
256-
--enable-sasl \
257-
--enable-sasl-pwdb \
258-
--disable-coverage \
259-
--disable-dependency-tracking \
260-
--disable-docs \
261-
--disable-extstore \
262-
--disable-option-checking \
263-
;
264-
make -j4
265-
make install
266-
cd ..
267-
echo MEMCACHED_BINARY="${MEMCACHED_PREFIX}/bin/memcached" >> ${GITHUB_ENV}
268-
fi
269-
- name: Generate build tree (${{ env.CMAKE_BUILD_TYPE }})
270-
run: cmake -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -S . -B build
271-
- name: Build all with ${{ env.CXX }} ${{ env.CXXFLAGS }}
272-
run: cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4
273-
- name: Test
274-
if: env.BUILD_TESTING == 'ON'
275-
run: cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target test
276-
- name: Install
277-
if: env.BUILD_TESTING == 'ON'
278-
run: cmake --install build --config ${{ env.CMAKE_BUILD_TYPE }} --prefix /tmp
279-
- name: Failed tests log
280-
if: ${{ env.BUILD_TESTING == 'ON' && failure() }}
281-
run: cat build/Testing/Temporary/LastTest.log || true
282-
- name: Package
283-
env:
284-
PUSH_ARTIFACTS_ID: ${{ secrets.PUSH_ARTIFACTS_ID }}
285-
if: env.PUSH_ARTIFACTS_ID != '' && env.CMAKE_BUILD_TYPE == 'Release'
286-
run: |
287-
cmake -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -S . -B build
288-
cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target package
289-
cmake -DCPACK_COMPONENT_INSTALL=ON build
290-
cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target package
291-
cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target push-artifacts
292-
- uses: codecov/codecov-action@v3
293-
294-
# coverage mac
295-
debug-coverage-mac:
296-
name: debug coverage (macos-15, clang)
297-
runs-on: macos-15 #
298-
env:
299-
CMAKE_BUILD_TYPE: "Debug"
300-
BUILD_TESTING: "ON"
301-
VERBOSE: "ON"
302-
CFLAGS: "-O0 --coverage"
303-
CXXFLAGS: "-O0 --coverage"
304-
OS_VND: macOS #
305-
OS_VER: macos-15 #
306-
CC_VND: clang #
307-
CC_VER: cur
308-
continue-on-error: true
309-
steps:
310-
- uses: actions/checkout@v3
311-
- name: Install dependencies (macOS)
312-
if: runner.os == 'macOS'
313-
run: |
314-
brew install bison flex libevent pkg-config rsync sphinx-doc ${INSTALL_MEMCACHED}
315-
brew services stop memcached || true
316-
echo MEMCACHED_BINARY="/usr/local/bin/memcached" >> ${GITHUB_ENV}
317-
- name: Build memcached
318-
if: runner.os != 'Windows'
319-
run: |
320-
if test -d memcached
321-
then
322-
cd memcached
323-
./autogen.sh
324-
cp configure{,.old} && sed -e 's/-Werror//g' <configure.old >configure
325-
./configure CFLAGS="-O2 -pipe -fcommon" \
326-
--prefix=${MEMCACHED_PREFIX} \
327-
--enable-sasl \
328-
--enable-sasl-pwdb \
329-
--disable-coverage \
330-
--disable-dependency-tracking \
331-
--disable-docs \
332-
--disable-extstore \
333-
--disable-option-checking \
334-
;
335-
make -j4
336-
make install
337-
cd ..
338-
echo MEMCACHED_BINARY="${MEMCACHED_PREFIX}/bin/memcached" >> ${GITHUB_ENV}
339-
fi
340-
- name: Generate build tree (${{ env.CMAKE_BUILD_TYPE }})
341-
run: cmake -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -S . -B build
342-
- name: Build all with ${{ env.CXX }} ${{ env.CXXFLAGS }}
343-
run: cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4
344-
- name: Test
345-
if: env.BUILD_TESTING == 'ON'
346-
run: cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target test
347-
- name: Install
348-
if: env.BUILD_TESTING == 'ON'
349-
run: cmake --install build --config ${{ env.CMAKE_BUILD_TYPE }} --prefix /tmp
350-
- name: Failed tests log
351-
if: ${{ env.BUILD_TESTING == 'ON' && failure() }}
352-
run: cat build/Testing/Temporary/LastTest.log || true
353-
- name: Package
354-
env:
355-
PUSH_ARTIFACTS_ID: ${{ secrets.PUSH_ARTIFACTS_ID }}
356-
if: env.PUSH_ARTIFACTS_ID != '' && env.CMAKE_BUILD_TYPE == 'Release'
357-
run: |
358-
cmake -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -S . -B build
359-
cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target package
360-
cmake -DCPACK_COMPONENT_INSTALL=ON build
361-
cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target package
362-
cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j4 --target push-artifacts
363-
- uses: codecov/codecov-action@v3
364-
365209
# mac release builds
366210
mac:
367211
name: release

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ Enable the `BUILD_TESTING` setting for a build and run `make test`.
8585

8686
CI/Testing is performed on the following system matrix:
8787

88-
| OS | Compiler | Arch | Comments |
89-
|------------------|------------------------------|-------------------------|----------------------------|
90-
| Linux | GNU 7/9/10, Clang 9/10/11/12 | amd64 | sasl, coverage, sanitizers |
91-
| MacOS | AppleClang 12 | amd64 | sasl, coverage |
92-
| FreeBSD | Clang 11 | amd64 | sasl, coverage |
93-
| OpenBSD | Clang 10 | amd64 | sasl, coverage |
94-
| Windows | MSVC 16, MinGW | amd64 | no sasl, no tests |
95-
| Solaris | SunPro 12.5 | amd64 | no sasl, no tests, manually|
88+
| OS | Compiler | Arch | Comments |
89+
|------------------|-------------|------------|------------------------------|
90+
| Linux | GNU, Clang | amd64 | sasl, sanitizers |
91+
| MacOS | AppleClang | amd64, arm | sasl |
92+
| FreeBSD | Clang | amd64 | sasl |
93+
| OpenBSD | Clang | amd64 | sasl |
94+
| Windows | MSVC, MinGW | amd64 | no sasl, no tests |
95+
| Solaris | SunPro | amd64 | no sasl, no tests, manually |
9696

9797
libmemcached-awesome has been tested against [memcached](https://github.com/memcached/memcached)
9898
v1.5 and v1.6.

codecov.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)