summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-22 21:14:32 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-22 21:14:32 +0100
commitca04e222c11b0268208464950d923a1ee880cc61 (patch)
tree17f79af8c803efbd04c10fc352a970f99cdad625
parentf0b227bc633e3c382069982c940cd433d5dda247 (diff)
rm -rf .github
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
-rw-r--r--.github/release-drafter-config.yml49
-rw-r--r--.github/spellcheck-settings.yml29
-rw-r--r--.github/wordlist.txt99
-rw-r--r--.github/workflows/build.yml177
-rw-r--r--.github/workflows/release-drafter.yml19
-rw-r--r--.github/workflows/spellcheck.yml14
-rw-r--r--.github/workflows/test.yml100
-rw-r--r--.reuse/dep54
8 files changed, 0 insertions, 491 deletions
diff --git a/.github/release-drafter-config.yml b/.github/release-drafter-config.yml
deleted file mode 100644
index 81afa9f..0000000
--- a/.github/release-drafter-config.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-name-template: '$NEXT_MAJOR_VERSION'
-tag-template: 'v$NEXT_MAJOR_VERSION'
-autolabeler:
- - label: 'maintenance'
- files:
- - '*.md'
- - '.github/*'
- - label: 'bug'
- branch:
- - '/bug-.+'
- - label: 'maintenance'
- branch:
- - '/maintenance-.+'
- - label: 'feature'
- branch:
- - '/feature-.+'
-categories:
- - title: 'Breaking Changes'
- labels:
- - 'breakingchange'
-
- - title: '๐Ÿงช Experimental Features'
- labels:
- - 'experimental'
- - title: '๐Ÿš€ New Features'
- labels:
- - 'feature'
- - 'enhancement'
- - title: '๐Ÿ› Bug Fixes'
- labels:
- - 'fix'
- - 'bugfix'
- - 'bug'
- - 'BUG'
- - title: '๐Ÿงฐ Maintenance'
- label: 'maintenance'
-change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
-exclude-labels:
- - 'skip-changelog'
-template: |
- ## Changes
-
- $CHANGES
-
- ## Contributors
- We'd like to thank all the contributors who worked on this release!
-
- $CONTRIBUTORS
-
diff --git a/.github/spellcheck-settings.yml b/.github/spellcheck-settings.yml
deleted file mode 100644
index b8ca6cc..0000000
--- a/.github/spellcheck-settings.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-matrix:
-- name: Markdown
- expect_match: false
- apsell:
- lang: en
- d: en_US
- ignore-case: true
- dictionary:
- wordlists:
- - .github/wordlist.txt
- output: wordlist.dic
- pipeline:
- - pyspelling.filters.markdown:
- markdown_extensions:
- - markdown.extensions.extra:
- - pyspelling.filters.html:
- comments: false
- attributes:
- - alt
- ignores:
- - ':matches(code, pre)'
- - code
- - pre
- - blockquote
- - img
- sources:
- - 'README.md'
- - 'FAQ.md'
- - 'docs/**'
diff --git a/.github/wordlist.txt b/.github/wordlist.txt
deleted file mode 100644
index 244bf5b..0000000
--- a/.github/wordlist.txt
+++ /dev/null
@@ -1,99 +0,0 @@
-ABI
-ACLs
-alloc
-Allocator
-allocators
-antirez
-api
-APIs
-ASYNC
-asyncRedisContext
-asyncronous
-AUTOFREE
-autoload
-autoloader
-autoloading
-Autoloading
-backend
-backends
-behaviour
-boolean
-CAS
-Changelog
-customizable
-Customizable
-CVE
-dataset
-de
-deallocation
-ElastiCache
-extensibility
-FPM
-getaddrinfo
-gmail
-grunder
-Grunder
-hiredis
-Hiredis
-HIREDIS
-hostname
-IANA
-IPv
-IPV
-keepalive
-keyspace
-keyspaces
-KiB
-libc
-libev
-libevent
-localhost
-Lua
-michael
-minimalistic
-namespace
-NOAUTOFREE
-NOAUTOFREEREPLIES
-NONBLOCK
-Noordhuis
-OpenSSL
-Packagist
-pcnoordhuis
-PhpRedis
-Pieter
-pipelined
-pipelining
-pluggable
-Predis
-PRERELEASE
-printf
-PSR
-PSUBSCRIBE
-rb
-Readme
-README
-rebalanced
-rebalancing
-redis
-Redis
-redisAsyncContext
-redisContext
-redisOptions
-redisReader
-reusability
-REUSEADDR
-runtime
-Sanfilippo
-SHA
-sharding
-SONAME
-SSL
-struct
-stunnel
-subelements
-TCP
-TLS
-unparsed
-UNSPEC
-URI
-variadic
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
deleted file mode 100644
index e852e9a..0000000
--- a/.github/workflows/build.yml
+++ /dev/null
@@ -1,177 +0,0 @@
-name: Build and test
-on: [push, pull_request]
-
-jobs:
- ubuntu:
- name: Ubuntu
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
-
- - name: Install dependencies
- run: |
- curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
- 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
- sudo apt-get update
- sudo apt-get install -y redis-server valgrind libevent-dev
-
- - name: Build using cmake
- env:
- EXTRA_CMAKE_OPTS: -DENABLE_EXAMPLES:BOOL=ON -DENABLE_SSL:BOOL=ON -DENABLE_SSL_TESTS:BOOL=ON -DENABLE_ASYNC_TESTS:BOOL=ON
- CFLAGS: -Werror
- CXXFLAGS: -Werror
- run: mkdir build && cd build && cmake .. && make
-
- - name: Build using makefile
- run: USE_SSL=1 TEST_ASYNC=1 make
-
- - name: Run tests
- env:
- SKIPS_AS_FAILS: 1
- TEST_SSL: 1
- run: $GITHUB_WORKSPACE/test.sh
-
- # - name: Run tests under valgrind
- # env:
- # SKIPS_AS_FAILS: 1
- # TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full
- # run: $GITHUB_WORKSPACE/test.sh
-
- centos7:
- name: CentOS 7
- runs-on: ubuntu-latest
- container: centos:7
- steps:
- - uses: actions/checkout@v3
-
- - name: Install dependencies
- run: |
- yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
- yum -y --enablerepo=remi install redis
- yum -y install gcc gcc-c++ make openssl openssl-devel cmake3 valgrind libevent-devel
-
- - name: Build using cmake
- env:
- EXTRA_CMAKE_OPTS: -DENABLE_EXAMPLES:BOOL=ON -DENABLE_SSL:BOOL=ON -DENABLE_SSL_TESTS:BOOL=ON -DENABLE_ASYNC_TESTS:BOOL=ON
- CFLAGS: -Werror
- CXXFLAGS: -Werror
- run: mkdir build && cd build && cmake3 .. && make
-
- - name: Build using Makefile
- run: USE_SSL=1 TEST_ASYNC=1 make
-
- - name: Run tests
- env:
- SKIPS_AS_FAILS: 1
- TEST_SSL: 1
- run: $GITHUB_WORKSPACE/test.sh
-
- - name: Run tests under valgrind
- env:
- SKIPS_AS_FAILS: 1
- TEST_SSL: 1
- TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full
- run: $GITHUB_WORKSPACE/test.sh
-
- centos8:
- name: RockyLinux 8
- runs-on: ubuntu-latest
- container: rockylinux:8
- steps:
- - uses: actions/checkout@v3
-
- - name: Install dependencies
- run: |
- dnf -y upgrade --refresh
- dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
- dnf -y module install redis:remi-6.0
- dnf -y group install "Development Tools"
- dnf -y install openssl-devel cmake valgrind libevent-devel
-
- - name: Build using cmake
- env:
- EXTRA_CMAKE_OPTS: -DENABLE_EXAMPLES:BOOL=ON -DENABLE_SSL:BOOL=ON -DENABLE_SSL_TESTS:BOOL=ON -DENABLE_ASYNC_TESTS:BOOL=ON
- CFLAGS: -Werror
- CXXFLAGS: -Werror
- run: mkdir build && cd build && cmake .. && make
-
- - name: Build using Makefile
- run: USE_SSL=1 TEST_ASYNC=1 make
-
- - name: Run tests
- env:
- SKIPS_AS_FAILS: 1
- TEST_SSL: 1
- run: $GITHUB_WORKSPACE/test.sh
-
- - name: Run tests under valgrind
- env:
- SKIPS_AS_FAILS: 1
- TEST_SSL: 1
- TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full
- run: $GITHUB_WORKSPACE/test.sh
-
- freebsd:
- runs-on: ubuntu-latest
- name: FreeBSD
- steps:
- - uses: actions/checkout@v3
-
- - name: Build in FreeBSD
- uses: vmactions/freebsd-vm@v1.0.5
- with:
- prepare: pkg install -y gmake cmake
- run: |
- mkdir build && cd build && cmake .. && make && cd ..
- gmake
-
- macos:
- name: macOS
- runs-on: macos-latest
- steps:
- - uses: actions/checkout@v3
-
- - name: Install dependencies
- run: |
- brew install openssl redis@7.2
- brew link redis@7.2 --force
-
- - name: Build hiredis
- run: USE_SSL=1 make
-
- - name: Run tests
- env:
- TEST_SSL: 1
- run: $GITHUB_WORKSPACE/test.sh
-
- windows:
- name: Windows
- runs-on: windows-latest
- steps:
- - uses: actions/checkout@v3
-
- - name: Install dependencies
- run: |
- choco install -y ninja memurai-developer
-
- - uses: ilammy/msvc-dev-cmd@v1
- - name: Build hiredis
- run: |
- mkdir build && cd build
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_EXAMPLES=ON
- ninja -v
-
- - name: Run tests
- run: |
- ./build/hiredis-test.exe
-
- - name: Install Cygwin Action
- uses: cygwin/cygwin-install-action@v2
- with:
- packages: make git gcc-core
-
- - name: Build in cygwin
- env:
- HIREDIS_PATH: ${{ github.workspace }}
- run: |
- make clean && make
diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml
deleted file mode 100644
index ec2d88b..0000000
--- a/.github/workflows/release-drafter.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-name: Release Drafter
-
-on:
- push:
- # branches to consider in the event; optional, defaults to all
- branches:
- - master
-
-jobs:
- update_release_draft:
- runs-on: ubuntu-latest
- steps:
- # Drafts your next Release notes as Pull Requests are merged into "master"
- - uses: release-drafter/release-drafter@v5
- with:
- # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
- config-name: release-drafter-config.yml
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml
deleted file mode 100644
index e152841..0000000
--- a/.github/workflows/spellcheck.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-name: spellcheck
-on:
- pull_request:
-jobs:
- check-spelling:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Check Spelling
- uses: rojopolis/spellcheck-github-actions@0.33.1
- with:
- config_path: .github/spellcheck-settings.yml
- task_name: Markdown
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
deleted file mode 100644
index 1a2c60b..0000000
--- a/.github/workflows/test.yml
+++ /dev/null
@@ -1,100 +0,0 @@
-name: C/C++ CI
-
-on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
-
-jobs:
- full-build:
- name: Build all, plus default examples, run tests against redis
- runs-on: ubuntu-latest
- env:
- # the docker image used by the test.sh
- REDIS_DOCKER: redis:alpine
-
- steps:
- - name: Install prerequisites
- run: sudo apt-get update && sudo apt-get install -y libev-dev libevent-dev libglib2.0-dev libssl-dev valgrind
- - uses: actions/checkout@v3
- - name: Run make
- run: make all examples
- - name: Run unittests
- run: make check
- - name: Run tests with valgrind
- env:
- TEST_PREFIX: valgrind --error-exitcode=100
- SKIPS_ARG: --skip-throughput
- run: make check
-
- build-32-bit:
- name: Build and test minimal 32 bit linux
- runs-on: ubuntu-latest
- steps:
- - name: Install prerequisites
- run: sudo apt-get update && sudo apt-get install gcc-multilib
- - uses: actions/checkout@v3
- - name: Run make
- run: make all
- env:
- PLATFORM_FLAGS: -m32
- - name: Run unittests
- env:
- REDIS_DOCKER: redis:alpine
- run: make check
-
- build-arm:
- name: Cross-compile and test arm linux with Qemu
- runs-on: ubuntu-latest
- strategy:
- matrix:
- include:
- - name: arm
- toolset: arm-linux-gnueabi
- emulator: qemu-arm
- - name: aarch64
- toolset: aarch64-linux-gnu
- emulator: qemu-aarch64
-
- steps:
- - name: Install qemu
- if: matrix.emulator
- run: sudo apt-get update && sudo apt-get install -y qemu-user
- - name: Install platform toolset
- if: matrix.toolset
- run: sudo apt-get install -y gcc-${{matrix.toolset}}
- - uses: actions/checkout@v3
- - name: Run make
- run: make all
- env:
- CC: ${{matrix.toolset}}-gcc
- AR: ${{matrix.toolset}}-ar
- - name: Run unittests
- env:
- REDIS_DOCKER: redis:alpine
- TEST_PREFIX: ${{matrix.emulator}} -L /usr/${{matrix.toolset}}/
- run: make check
-
- build-windows:
- name: Build and test on windows 64 bit Intel
- runs-on: windows-latest
- steps:
- - uses: microsoft/setup-msbuild@v1.0.2
- - uses: actions/checkout@v3
- - name: Run CMake (shared lib)
- run: cmake -Wno-dev CMakeLists.txt
- - name: Build hiredis (shared lib)
- run: MSBuild hiredis.vcxproj /p:Configuration=Debug
- - name: Run CMake (static lib)
- run: cmake -Wno-dev CMakeLists.txt -DBUILD_SHARED_LIBS=OFF
- - name: Build hiredis (static lib)
- run: MSBuild hiredis.vcxproj /p:Configuration=Debug
- - name: Build hiredis-test
- run: MSBuild hiredis-test.vcxproj /p:Configuration=Debug
- # use memurai, redis compatible server, since it is easy to install. Can't
- # install official redis containers on the windows runner
- - name: Install Memurai redis server
- run: choco install -y memurai-developer.install
- - name: Run tests
- run: Debug\hiredis-test.exe
diff --git a/.reuse/dep5 b/.reuse/dep5
index 72e39a8..8d8eba4 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -24,7 +24,3 @@ License: BSD-3-Clause
Files: hiredict.targets
Copyright: Salvatore Sanfilippo <antirez at gmail dot com>
License: BSD-3-Clause
-
-Files: .github/*
-Copyright: Salvatore Sanfilippo <antirez at gmail dot com>
-License: BSD-3-Clause