-
Notifications
You must be signed in to change notification settings - Fork 24
64 lines (54 loc) · 1.47 KB
/
silo_build.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: silo_build
on:
push:
paths:
- '.github/workflows/silo_build.yml'
- 'common/**'
- 'silo/**'
- 'third_party/**'
pull_request:
paths:
- '.github/workflows/silo_build.yml'
- 'common/**'
- 'silo/**'
jobs:
Build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- id: Begin
name: Begin
run: |
echo "Begin ${GITHUB_WORKFLOW}/${GITHUB_JOB}"
- id: Checkout
name: Checkout
uses: actions/checkout@v2
- id: Install_apt
name: Install_apt
run: |
sudo apt update -y
sudo apt-get install -y $(cat build_tools/ubuntu.deps)
- id: Submodule_init_recursive
name: Submodule_init_recursive
run: |
git submodule update --init --recursive
- id: Build_third_party_masstree
name: Build_third_party_masstree
run: |
./build_tools/bootstrap.sh
- id: Build_third_party_mimalloc
name: Build_third_party_mimalloc
run: |
./build_tools/bootstrap_mimalloc.sh
- id: Build_third_party_googletest
name: Build_third_party_googletest
run: |
./build_tools/bootstrap_googletest.sh
- id: Build_silo
name: Build_silo
run: |
cd silo
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j