FEATURE: Add multi-storage operations. #121
Workflow file for this run
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: 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 |