File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 1+ name : build-cachelib-centos-latest
2+ on :
3+ schedule :
4+ - cron : ' 0 7 * * *'
5+
6+ jobs :
7+ build-cachelib-centos8-latest :
8+ name : " CentOS/latest - Build CacheLib with all dependencies"
9+ runs-on : ubuntu-latest
10+ # Docker container image name
11+ container : " centos:latest"
12+ steps :
13+ - name : " update packages"
14+ run : dnf upgrade -y
15+ - name : " install sudo,git"
16+ run : dnf install -y sudo git cmake gcc
17+ - name : " System Information"
18+ run : |
19+ echo === uname ===
20+ uname -a
21+ echo === /etc/os-release ===
22+ cat /etc/os-release
23+ echo === df -hl ===
24+ df -hl
25+ echo === free -h ===
26+ free -h
27+ echo === top ===
28+ top -b -n1 -1 -Eg || timeout 1 top -b -n1
29+ echo === env ===
30+ env
31+ echo === gcc -v ===
32+ gcc -v
33+ - name : " checkout sources"
34+ uses : actions/checkout@v2
35+ - name : " build CacheLib using build script"
36+ run : ./contrib/build.sh -j -v -T
37+ - name : " run tests"
38+ timeout-minutes : 60
39+ run : cd opt/cachelib/tests && ../../../run_tests.sh long
Original file line number Diff line number Diff line change @@ -7,4 +7,8 @@ common-test-TimeTests
77common-test-UtilTests
88shm-test-test_page_size"
99
10- find -type f \( -not -name " *bench*" -and -not -name " navy*" \) -executable | grep -vF " $BLACKLIST " | xargs -n1 bash -c
10+ if [ " $1 " == " long" ]; then
11+ find -type f -executable | grep -vF " $BLACKLIST " | xargs -n1 bash -c
12+ else
13+ find -type f \( -not -name " *bench*" -and -not -name " navy*" \) -executable | grep -vF " $BLACKLIST " | xargs -n1 bash -c
14+ fi
You can’t perform that action at this time.
0 commit comments