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/workflows/test.yml | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/redis-unstable/deps/hiredis/.github/workflows/test.yml')
| -rw-r--r-- | examples/redis-unstable/deps/hiredis/.github/workflows/test.yml | 100 |
1 files changed, 0 insertions, 100 deletions
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 | ||
