11name : Tests and Coverage
22on : [push]
3-
43jobs :
54 kernel :
65 name : Kernel Build compare
98 - name : Prepare dependencies
109 run : |
1110 sudo apt-get update
12- sudo apt-get install -y build-essential libfuse3-dev libhiredis-dev redis-tools wget
11+ sudo apt-get install -y build-essential libfuse3-dev libhiredis-dev wget libunwind-dev
1312 sudo apt-get install -y libelf-dev flex bison libssl-dev bc
1413
1514 - name : Checkout development code
@@ -29,18 +28,10 @@ jobs:
2928 run : |
3029 cd 0-db/zdbd && ./zdb --mode seq --background
3130
32- - name : Create original namespaces
33- run : |
34- echo "NSNEW zdbfs-meta" | redis-cli -p 9900
35- echo "NSNEW zdbfs-data" | redis-cli -p 9900
36- echo "NSNEW zdbfs-temp" | redis-cli -p 9900
37- echo "NSSET zdbfs-temp password hello" | redis-cli -p 9900
38- echo "NSSET zdbfs-temp public 0" | redis-cli -p 9900
39-
4031 - name : Run tests
4132 run : |
4233 sudo mkdir /mnt/zdbfs
43- sudo ./zdbfs -o allow_other -o background /mnt/zdbfs
34+ sudo ./zdbfs -o allow_other -o background -o autons /mnt/zdbfs
4435
4536 - name : Download Linux Kernel
4637 working-directory : /tmp
9283 - name : Prepare dependencies
9384 run : |
9485 sudo apt-get update
95- sudo apt-get install -y build-essential libfuse3-dev libhiredis-dev redis-tools wget
86+ sudo apt-get install -y build-essential libfuse3-dev libhiredis-dev wget libunwind-dev
9687 sudo apt-get install -y libelf-dev flex bison libssl-dev bc
9788
9889 - name : Checkout development code
@@ -112,18 +103,10 @@ jobs:
112103 run : |
113104 cd 0-db/zdbd && ./zdb --mode seq --background
114105
115- - name : Create original namespaces
116- run : |
117- echo "NSNEW zdbfs-meta" | redis-cli -p 9900
118- echo "NSNEW zdbfs-data" | redis-cli -p 9900
119- echo "NSNEW zdbfs-temp" | redis-cli -p 9900
120- echo "NSSET zdbfs-temp password hello" | redis-cli -p 9900
121- echo "NSSET zdbfs-temp public 0" | redis-cli -p 9900
122-
123106 - name : Run zdbfs
124107 run : |
125108 sudo mkdir /mnt/zdbfs
126- sudo ./zdbfs -o allow_other -o background /mnt/zdbfs
109+ sudo ./zdbfs -o allow_other -o background -o autons /mnt/zdbfs
127110
128111 - name : Run sanity check
129112 run : ./tests/basic.sh /mnt/zdbfs
0 commit comments