Skip to content

DOC: Add examples for the KV API #151

DOC: Add examples for the KV API

DOC: Add examples for the KV API #151

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "develop" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install Arcus C Client Dependency Packages
run: sudo apt-get install -qq build-essential libtool pandora-build
- name: Cache Arcus Server Directory
id: arcus-cache
uses: actions/[email protected]
with:
path: ~/arcus
key: ${{runner.os}}-arcus
- name: Install Arcus Server
if: steps.arcus-cache.outputs.cache-hit != 'true'
run: |
git clone https://github.com/naver/arcus-memcached
cd arcus-memcached
./deps/install.sh $HOME/arcus
./config/autorun.sh
./configure --prefix=$HOME/arcus
make && make install
- name: Build Arcus C Client
run: |
./config/autorun.sh
./configure --with-memcached=$HOME/arcus/bin/memcached \
--with-memcached_engine=$HOME/arcus/lib/default_engine.so
make
- name: Test ARCUS C Client
run: make test