diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
| commit | dcacc00e3750300617ba6e16eb346713f91a783a (patch) | |
| tree | 38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/deps/hiredis/.github | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/redis-unstable/deps/hiredis/.github')
4 files changed, 0 insertions, 345 deletions
diff --git a/examples/redis-unstable/deps/hiredis/.github/release-drafter-config.yml b/examples/redis-unstable/deps/hiredis/.github/release-drafter-config.yml deleted file mode 100644 index 81afa9f..0000000 --- a/examples/redis-unstable/deps/hiredis/.github/release-drafter-config.yml +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | name-template: '$NEXT_MAJOR_VERSION' | ||
| 2 | tag-template: 'v$NEXT_MAJOR_VERSION' | ||
| 3 | autolabeler: | ||
| 4 | - label: 'maintenance' | ||
| 5 | files: | ||
| 6 | - '*.md' | ||
| 7 | - '.github/*' | ||
| 8 | - label: 'bug' | ||
| 9 | branch: | ||
| 10 | - '/bug-.+' | ||
| 11 | - label: 'maintenance' | ||
| 12 | branch: | ||
| 13 | - '/maintenance-.+' | ||
| 14 | - label: 'feature' | ||
| 15 | branch: | ||
| 16 | - '/feature-.+' | ||
| 17 | categories: | ||
| 18 | - title: 'Breaking Changes' | ||
| 19 | labels: | ||
| 20 | - 'breakingchange' | ||
| 21 | |||
| 22 | - title: '๐งช Experimental Features' | ||
| 23 | labels: | ||
| 24 | - 'experimental' | ||
| 25 | - title: '๐ New Features' | ||
| 26 | labels: | ||
| 27 | - 'feature' | ||
| 28 | - 'enhancement' | ||
| 29 | - title: '๐ Bug Fixes' | ||
| 30 | labels: | ||
| 31 | - 'fix' | ||
| 32 | - 'bugfix' | ||
| 33 | - 'bug' | ||
| 34 | - 'BUG' | ||
| 35 | - title: '๐งฐ Maintenance' | ||
| 36 | label: 'maintenance' | ||
| 37 | change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
| 38 | exclude-labels: | ||
| 39 | - 'skip-changelog' | ||
| 40 | template: | | ||
| 41 | ## Changes | ||
| 42 | |||
| 43 | $CHANGES | ||
| 44 | |||
| 45 | ## Contributors | ||
| 46 | We'd like to thank all the contributors who worked on this release! | ||
| 47 | |||
| 48 | $CONTRIBUTORS | ||
| 49 | |||
diff --git a/examples/redis-unstable/deps/hiredis/.github/workflows/build.yml b/examples/redis-unstable/deps/hiredis/.github/workflows/build.yml deleted file mode 100644 index 581800b..0000000 --- a/examples/redis-unstable/deps/hiredis/.github/workflows/build.yml +++ /dev/null | |||
| @@ -1,177 +0,0 @@ | |||
| 1 | name: Build and test | ||
| 2 | on: [push, pull_request] | ||
| 3 | |||
| 4 | jobs: | ||
| 5 | ubuntu: | ||
| 6 | name: Ubuntu | ||
| 7 | runs-on: ubuntu-latest | ||
| 8 | steps: | ||
| 9 | - uses: actions/checkout@v3 | ||
| 10 | |||
| 11 | - name: Install dependencies | ||
| 12 | run: | | ||
| 13 | curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg | ||
| 14 | echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list | ||
| 15 | sudo apt-get update | ||
| 16 | sudo apt-get install -y redis-server valgrind libevent-dev | ||
| 17 | |||
| 18 | - name: Build using cmake | ||
| 19 | env: | ||
| 20 | EXTRA_CMAKE_OPTS: -DENABLE_EXAMPLES:BOOL=ON -DENABLE_SSL:BOOL=ON -DENABLE_SSL_TESTS:BOOL=ON -DENABLE_ASYNC_TESTS:BOOL=ON | ||
| 21 | CFLAGS: -Werror | ||
| 22 | CXXFLAGS: -Werror | ||
| 23 | run: mkdir build && cd build && cmake .. && make | ||
| 24 | |||
| 25 | - name: Build using makefile | ||
| 26 | run: USE_SSL=1 TEST_ASYNC=1 make | ||
| 27 | |||
| 28 | - name: Run tests | ||
| 29 | env: | ||
| 30 | SKIPS_AS_FAILS: 1 | ||
| 31 | TEST_SSL: 1 | ||
| 32 | run: $GITHUB_WORKSPACE/test.sh | ||
| 33 | |||
| 34 | # - name: Run tests under valgrind | ||
| 35 | # env: | ||
| 36 | # SKIPS_AS_FAILS: 1 | ||
| 37 | # TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full | ||
| 38 | # run: $GITHUB_WORKSPACE/test.sh | ||
| 39 | |||
| 40 | centos7: | ||
| 41 | name: CentOS 7 | ||
| 42 | runs-on: ubuntu-latest | ||
| 43 | container: centos:7 | ||
| 44 | steps: | ||
| 45 | - uses: actions/checkout@v3 | ||
| 46 | |||
| 47 | - name: Install dependencies | ||
| 48 | run: | | ||
| 49 | yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm | ||
| 50 | yum -y --enablerepo=remi install redis | ||
| 51 | yum -y install gcc gcc-c++ make openssl openssl-devel cmake3 valgrind libevent-devel | ||
| 52 | |||
| 53 | - name: Build using cmake | ||
| 54 | env: | ||
| 55 | EXTRA_CMAKE_OPTS: -DENABLE_EXAMPLES:BOOL=ON -DENABLE_SSL:BOOL=ON -DENABLE_SSL_TESTS:BOOL=ON -DENABLE_ASYNC_TESTS:BOOL=ON | ||
| 56 | CFLAGS: -Werror | ||
| 57 | CXXFLAGS: -Werror | ||
| 58 | run: mkdir build && cd build && cmake3 .. && make | ||
| 59 | |||
| 60 | - name: Build using Makefile | ||
| 61 | run: USE_SSL=1 TEST_ASYNC=1 make | ||
| 62 | |||
| 63 | - name: Run tests | ||
| 64 | env: | ||
| 65 | SKIPS_AS_FAILS: 1 | ||
| 66 | TEST_SSL: 1 | ||
| 67 | run: $GITHUB_WORKSPACE/test.sh | ||
| 68 | |||
| 69 | - name: Run tests under valgrind | ||
| 70 | env: | ||
| 71 | SKIPS_AS_FAILS: 1 | ||
| 72 | TEST_SSL: 1 | ||
| 73 | TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full | ||
| 74 | run: $GITHUB_WORKSPACE/test.sh | ||
| 75 | |||
| 76 | centos8: | ||
| 77 | name: RockyLinux 8 | ||
| 78 | runs-on: ubuntu-latest | ||
| 79 | container: rockylinux:8 | ||
| 80 | steps: | ||
| 81 | - uses: actions/checkout@v3 | ||
| 82 | |||
| 83 | - name: Install dependencies | ||
| 84 | run: | | ||
| 85 | dnf -y upgrade --refresh | ||
| 86 | dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm | ||
| 87 | dnf -y module install redis:remi-6.0 | ||
| 88 | dnf -y group install "Development Tools" | ||
| 89 | dnf -y install openssl-devel cmake valgrind libevent-devel | ||
| 90 | |||
| 91 | - name: Build using cmake | ||
| 92 | env: | ||
| 93 | EXTRA_CMAKE_OPTS: -DENABLE_EXAMPLES:BOOL=ON -DENABLE_SSL:BOOL=ON -DENABLE_SSL_TESTS:BOOL=ON -DENABLE_ASYNC_TESTS:BOOL=ON | ||
| 94 | CFLAGS: -Werror | ||
| 95 | CXXFLAGS: -Werror | ||
| 96 | run: mkdir build && cd build && cmake .. && make | ||
| 97 | |||
| 98 | - name: Build using Makefile | ||
| 99 | run: USE_SSL=1 TEST_ASYNC=1 make | ||
| 100 | |||
| 101 | - name: Run tests | ||
| 102 | env: | ||
| 103 | SKIPS_AS_FAILS: 1 | ||
| 104 | TEST_SSL: 1 | ||
| 105 | run: $GITHUB_WORKSPACE/test.sh | ||
| 106 | |||
| 107 | - name: Run tests under valgrind | ||
| 108 | env: | ||
| 109 | SKIPS_AS_FAILS: 1 | ||
| 110 | TEST_SSL: 1 | ||
| 111 | TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full | ||
| 112 | run: $GITHUB_WORKSPACE/test.sh | ||
| 113 | |||
| 114 | freebsd: | ||
| 115 | runs-on: macos-12 | ||
| 116 | name: FreeBSD | ||
| 117 | steps: | ||
| 118 | - uses: actions/checkout@v3 | ||
| 119 | |||
| 120 | - name: Build in FreeBSD | ||
| 121 | uses: vmactions/freebsd-vm@v0 | ||
| 122 | with: | ||
| 123 | prepare: pkg install -y gmake cmake | ||
| 124 | run: | | ||
| 125 | mkdir build && cd build && cmake .. && make && cd .. | ||
| 126 | gmake | ||
| 127 | |||
| 128 | macos: | ||
| 129 | name: macOS | ||
| 130 | runs-on: macos-latest | ||
| 131 | steps: | ||
| 132 | - uses: actions/checkout@v3 | ||
| 133 | |||
| 134 | - name: Install dependencies | ||
| 135 | run: | | ||
| 136 | brew install openssl redis@7.0 | ||
| 137 | brew link redis@7.0 --force | ||
| 138 | |||
| 139 | - name: Build hiredis | ||
| 140 | run: USE_SSL=1 make | ||
| 141 | |||
| 142 | - name: Run tests | ||
| 143 | env: | ||
| 144 | TEST_SSL: 1 | ||
| 145 | run: $GITHUB_WORKSPACE/test.sh | ||
| 146 | |||
| 147 | windows: | ||
| 148 | name: Windows | ||
| 149 | runs-on: windows-latest | ||
| 150 | steps: | ||
| 151 | - uses: actions/checkout@v3 | ||
| 152 | |||
| 153 | - name: Install dependencies | ||
| 154 | run: | | ||
| 155 | choco install -y ninja memurai-developer | ||
| 156 | |||
| 157 | - uses: ilammy/msvc-dev-cmd@v1 | ||
| 158 | - name: Build hiredis | ||
| 159 | run: | | ||
| 160 | mkdir build && cd build | ||
| 161 | cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_EXAMPLES=ON | ||
| 162 | ninja -v | ||
| 163 | |||
| 164 | - name: Run tests | ||
| 165 | run: | | ||
| 166 | ./build/hiredis-test.exe | ||
| 167 | |||
| 168 | - name: Install Cygwin Action | ||
| 169 | uses: cygwin/cygwin-install-action@v2 | ||
| 170 | with: | ||
| 171 | packages: make git gcc-core | ||
| 172 | |||
| 173 | - name: Build in cygwin | ||
| 174 | env: | ||
| 175 | HIREDIS_PATH: ${{ github.workspace }} | ||
| 176 | run: | | ||
| 177 | make clean && make | ||
diff --git a/examples/redis-unstable/deps/hiredis/.github/workflows/release-drafter.yml b/examples/redis-unstable/deps/hiredis/.github/workflows/release-drafter.yml deleted file mode 100644 index ec2d88b..0000000 --- a/examples/redis-unstable/deps/hiredis/.github/workflows/release-drafter.yml +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | name: Release Drafter | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | # branches to consider in the event; optional, defaults to all | ||
| 6 | branches: | ||
| 7 | - master | ||
| 8 | |||
| 9 | jobs: | ||
| 10 | update_release_draft: | ||
| 11 | runs-on: ubuntu-latest | ||
| 12 | steps: | ||
| 13 | # Drafts your next Release notes as Pull Requests are merged into "master" | ||
| 14 | - uses: release-drafter/release-drafter@v5 | ||
| 15 | with: | ||
| 16 | # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml | ||
| 17 | config-name: release-drafter-config.yml | ||
| 18 | env: | ||
| 19 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
diff --git a/examples/redis-unstable/deps/hiredis/.github/workflows/test.yml b/examples/redis-unstable/deps/hiredis/.github/workflows/test.yml deleted file mode 100644 index 1a2c60b..0000000 --- a/examples/redis-unstable/deps/hiredis/.github/workflows/test.yml +++ /dev/null | |||
| @@ -1,100 +0,0 @@ | |||
| 1 | name: C/C++ CI | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [ master ] | ||
| 6 | pull_request: | ||
| 7 | branches: [ master ] | ||
| 8 | |||
| 9 | jobs: | ||
| 10 | full-build: | ||
| 11 | name: Build all, plus default examples, run tests against redis | ||
| 12 | runs-on: ubuntu-latest | ||
| 13 | env: | ||
| 14 | # the docker image used by the test.sh | ||
| 15 | REDIS_DOCKER: redis:alpine | ||
| 16 | |||
| 17 | steps: | ||
| 18 | - name: Install prerequisites | ||
| 19 | run: sudo apt-get update && sudo apt-get install -y libev-dev libevent-dev libglib2.0-dev libssl-dev valgrind | ||
| 20 | - uses: actions/checkout@v3 | ||
| 21 | - name: Run make | ||
| 22 | run: make all examples | ||
| 23 | - name: Run unittests | ||
| 24 | run: make check | ||
| 25 | - name: Run tests with valgrind | ||
| 26 | env: | ||
| 27 | TEST_PREFIX: valgrind --error-exitcode=100 | ||
| 28 | SKIPS_ARG: --skip-throughput | ||
| 29 | run: make check | ||
| 30 | |||
| 31 | build-32-bit: | ||
| 32 | name: Build and test minimal 32 bit linux | ||
| 33 | runs-on: ubuntu-latest | ||
| 34 | steps: | ||
| 35 | - name: Install prerequisites | ||
| 36 | run: sudo apt-get update && sudo apt-get install gcc-multilib | ||
| 37 | - uses: actions/checkout@v3 | ||
| 38 | - name: Run make | ||
| 39 | run: make all | ||
| 40 | env: | ||
| 41 | PLATFORM_FLAGS: -m32 | ||
| 42 | - name: Run unittests | ||
| 43 | env: | ||
| 44 | REDIS_DOCKER: redis:alpine | ||
| 45 | run: make check | ||
| 46 | |||
| 47 | build-arm: | ||
| 48 | name: Cross-compile and test arm linux with Qemu | ||
| 49 | runs-on: ubuntu-latest | ||
| 50 | strategy: | ||
| 51 | matrix: | ||
| 52 | include: | ||
| 53 | - name: arm | ||
| 54 | toolset: arm-linux-gnueabi | ||
| 55 | emulator: qemu-arm | ||
| 56 | - name: aarch64 | ||
| 57 | toolset: aarch64-linux-gnu | ||
| 58 | emulator: qemu-aarch64 | ||
| 59 | |||
| 60 | steps: | ||
| 61 | - name: Install qemu | ||
| 62 | if: matrix.emulator | ||
| 63 | run: sudo apt-get update && sudo apt-get install -y qemu-user | ||
| 64 | - name: Install platform toolset | ||
| 65 | if: matrix.toolset | ||
| 66 | run: sudo apt-get install -y gcc-${{matrix.toolset}} | ||
| 67 | - uses: actions/checkout@v3 | ||
| 68 | - name: Run make | ||
| 69 | run: make all | ||
| 70 | env: | ||
| 71 | CC: ${{matrix.toolset}}-gcc | ||
| 72 | AR: ${{matrix.toolset}}-ar | ||
| 73 | - name: Run unittests | ||
| 74 | env: | ||
| 75 | REDIS_DOCKER: redis:alpine | ||
| 76 | TEST_PREFIX: ${{matrix.emulator}} -L /usr/${{matrix.toolset}}/ | ||
| 77 | run: make check | ||
| 78 | |||
| 79 | build-windows: | ||
| 80 | name: Build and test on windows 64 bit Intel | ||
| 81 | runs-on: windows-latest | ||
| 82 | steps: | ||
| 83 | - uses: microsoft/setup-msbuild@v1.0.2 | ||
| 84 | - uses: actions/checkout@v3 | ||
| 85 | - name: Run CMake (shared lib) | ||
| 86 | run: cmake -Wno-dev CMakeLists.txt | ||
| 87 | - name: Build hiredis (shared lib) | ||
| 88 | run: MSBuild hiredis.vcxproj /p:Configuration=Debug | ||
| 89 | - name: Run CMake (static lib) | ||
| 90 | run: cmake -Wno-dev CMakeLists.txt -DBUILD_SHARED_LIBS=OFF | ||
| 91 | - name: Build hiredis (static lib) | ||
| 92 | run: MSBuild hiredis.vcxproj /p:Configuration=Debug | ||
| 93 | - name: Build hiredis-test | ||
| 94 | run: MSBuild hiredis-test.vcxproj /p:Configuration=Debug | ||
| 95 | # use memurai, redis compatible server, since it is easy to install. Can't | ||
| 96 | # install official redis containers on the windows runner | ||
| 97 | - name: Install Memurai redis server | ||
| 98 | run: choco install -y memurai-developer.install | ||
| 99 | - name: Run tests | ||
| 100 | run: Debug\hiredis-test.exe | ||
