-
Notifications
You must be signed in to change notification settings - Fork 55
41 lines (36 loc) · 1.06 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install ARCUS Dependencies
run: sudo apt-get install -qq build-essential autoconf automake libtool libcppunit-dev python-setuptools python-dev ant
- name: Cache ARCUS Directory
id: arcus-cache
uses: actions/[email protected]
with:
path: ~/arcus
key: ${{runner.os}}-arcus
- name: Install ARCUS
if: steps.arcus-cache.outputs.cache-hit != 'true'
run: |
set -e
# clone
git clone --recursive https://github.com/naver/arcus.git $HOME/arcus
# build dependencies
cd ~/arcus/scripts && ./build.sh
- name: Build Arcus Server
run: |
./config/autorun.sh
./configure --enable-zk-integration --with-zk-reconfig --with-libevent=${HOME}/arcus --with-zookeeper=${HOME}/arcus
make
- name: Test ARCUS Server
run: make test