Remove dict
from user-facing API (#87)
#315
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: [push, pull_request] | |
jobs: | |
almalinux8: | |
name: AlmaLinux 8 | |
runs-on: ubuntu-latest | |
container: almalinux:8 | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Install dependencies | |
run: | | |
dnf -y install epel-release | |
dnf -y install gcc make cmake3 openssl openssl-devel libevent-devel procps-ng valkey | |
- name: Build using cmake | |
env: | |
EXTRA_CMAKE_OPTS: -DENABLE_EXAMPLES:BOOL=ON -DENABLE_TLS:BOOL=ON | |
run: mkdir build && cd build && cmake3 .. && make | |
- name: Build using Makefile | |
run: USE_TLS=1 TEST_ASYNC=1 make | |
- name: Run tests | |
working-directory: tests | |
env: | |
SKIPS_AS_FAILS: 1 | |
TEST_TLS: 1 | |
run: ./test.sh | |
centos8: | |
name: RockyLinux 8 | |
runs-on: ubuntu-latest | |
container: rockylinux:8 | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- 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 libevent-devel | |
- name: Install Valkey | |
run: | | |
git clone --depth 1 --branch 7.2.5 https://github.com/valkey-io/valkey.git | |
cd valkey && BUILD_TLS=yes make install | |
- name: Build using cmake | |
env: | |
EXTRA_CMAKE_OPTS: -DENABLE_EXAMPLES:BOOL=ON -DENABLE_TLS:BOOL=ON | |
run: mkdir build && cd build && cmake .. && make | |
- name: Build using Makefile | |
run: USE_TLS=1 TEST_ASYNC=1 make | |
- name: Run tests | |
working-directory: tests | |
env: | |
SKIPS_AS_FAILS: 1 | |
TEST_TLS: 1 | |
run: ./test.sh | |
freebsd: | |
runs-on: ubuntu-latest | |
name: FreeBSD | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Build in FreeBSD | |
uses: vmactions/freebsd-vm@c96341966a3954a757e6ea41692f7c7b32312a0c # v1.1.4 | |
with: | |
prepare: pkg install -y gmake cmake | |
run: | | |
gmake | |
mkdir build && cd build && cmake .. && gmake |