summaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2024-03-22rm -rf .githubAnna (navi) Figueiredo Gomes
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
2024-01-21Fix macOS and FreeBSD CI runners.michael-grunder
* Update macOS to brew install redis@7.2 * Switch freeBSD runner to v1 and switch from running it on a macos runner to ubuntu.
2023-08-18Integrating spellcheck into CI (#1218)Chayim
* Adding spellcheck testing * words * updating version of spellcheck action
2023-05-30CI: Update homebrew Redis version. (#1191)Yossi Gottlieb
Fixes cross-compilation QEMU CI tests * CI: Update homebrew Redis version. * CI: Try apt-get update as a workaround.
2023-03-07Cmake static or shared (#1160)autoantwort
* cmake: build either static or shared libs * cmake: allow to build non-PIC static libs * fix typo * cmake: add ALIAS targets * cmake: link to OpenSSL imported targets CMake imported targets are more robust * turn ENABLE_EXAMPLES to a CMake option * fix typo * install pdb files if shared * fix hiredis_ssl-config file * Fix more targets * CMake knows when to enable CMAKE_POSITION_INDEPENDENT_CODE * Restore setting of /Z7 * [ci] fix building of shared and static libs * Apply suggestions from code review Co-authored-by: Bjorn Svensson <bjorn.a.svensson@est.tech> * Make it possible to change name of exported target --------- Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Co-authored-by: Bjorn Svensson <bjorn.a.svensson@est.tech>
2022-11-10CI updates (#1139)Bjorn Svensson
* Build CMake generated makefiles * Simplify and update checkout * Update CI workflow 'C/C++ CI' * Some corrections of spelling and naming. * Remove running on branch dev since not officially available.
2022-11-02CI fixes in preparation of releasemichael-grunder
- Upgrade to actions/checkout@v3 as node 12 is being phased out. - Perform a manual dnf refresh on RockyLinux during setup. - Switch to official cygwin/cygwin-install-action
2022-08-29Add Github Actions CI workflow for hiredis: Arm, Arm64, 386, windows. (#943)Kristján Valur Jónsson
* Add docker support to test.sh specifying a REDIS_DOCKER env var will run this as a server. * Add initial test workflow * Add workflow test to test 32 bit build * Add ARM x compilation tests * Add tests for windows platform * Test with valgrind
2022-08-26Merge pull request #1079 from SukkaW/drop-macos-10.15-runnerMichael Grunder
CI: bump macos runner version
2022-08-10Release drafterChayim I. Kirshen
2022-08-05CI: use recommended `vmactions/freebsd-vm@v0`Sukka
Co-authored-by: Bjorn Svensson <bjorn.a.svensson@est.tech>
2022-07-25CI: bump macos runner versionSukkaW
2022-06-26Fix tests so they work for Redis 7.0michael-grunder
* Redis >= 7.0.0 disables the `DEBUG` command by default, which we need for our unit tests. * Downgrade to Redis 6.2.x in macOS temporarily There is a macOS specific TLS error on large payloads when running against 7.x.x so temporarily run our tests against 6.2, while we investigate the root cause.
2022-04-23Merge pull request #1061 from yossigo/update-redis-aptMichael Grunder
Use official repository for redis package.
2022-04-23Whitelist hiredis repo path in cygwinmichael-grunder
2022-04-22Use official repository for redis package.Yossi Gottlieb
2022-02-01CentOS 8 is EOL, switch to RockyLinuxmichael-grunder
2021-12-16FreeBSD build fixes + CI (#1026)Michael Grunder
* BSD linkage fix proposal * Touch up the Makefile to fix BSD builds Fixes #984 * Add a build in FreeBSD to GitHub Actions Lots of people use hiredis in FreeBSD so this should reduce some pain moving forward. Co-authored-by: David Carlier <devnexen@gmail.com>
2021-11-24Valgrind returns error exit code when errors found (#1011)Bjorn Svensson
By default Valgrind will return the exit code from the tested process. Since our test can return 0 (ALL TESTS PASS) even when a leak was found we need to tell Valgrind to return an error code. This will fail the CI job when issues are found.
2021-11-18Move to using make directly in Cygwin (#1020)Michael Grunder
CMake started hanging when trying to detect the C compiler ABI in cygin, so for now just build with make directly.
2021-10-26Add build options for enabling async testsBjörn Svensson
Asynchronous testcases that requires the event library `libevent` can be built and enabled by using the added build flags: - ENABLE_ASYNC_TESTS when using CMake - TEST_ASYNC when using Make The async tests are disabled by default to avoid adding new requirements, but the testcases are built and run in CI.
2021-10-20Run SSL tests in CIBjörn Svensson
2021-10-14Add valgrind and CMake to testsmichael-grunder
2021-10-12Add Centos8michael-grunder
I'm sure this can be done with a container matrix but figuring that out is left for another day.
2021-10-12We should run actions on PRsmichael-grunder
2021-10-12Add Cygwin build testmichael-grunder
2021-10-10Add Windows tests in GitHub actionsmichael-grunder
See: #992 TODO: MinGW/cygwin tests
2021-10-10Switch to GitHub actionsmichael-grunder
Since TravisCI.org was deprecated we've been without any tests. This commit adds back basic tests in Ubuntu, CentOS, and MacOS. More sophisticated tests/platforms to come in the future (e.g. 32bit tests). See: #992