File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 88 name : " CentOS/latest - Build CacheLib with all dependencies"
99 runs-on : ubuntu-latest
1010 # Docker container image name
11- container : " centos:latest "
11+ container : " ghcr.io/igchor/cachelib-deps:centos8 "
1212 steps :
13- - name : " update packages"
14- run : dnf upgrade -y
15- - name : " install sudo,git"
16- run : dnf install -y sudo git cmake gcc
1713 - name : " System Information"
1814 run : |
1915 echo === uname ===
3228 gcc -v
3329 - name : " checkout sources"
3430 uses : actions/checkout@v2
31+ - name : " print workspace"
32+ run : echo $GITHUB_WORKSPACE
3533 - name : " build CacheLib using build script"
36- run : ./contrib/ build.sh -j -v -T
34+ run : mkdir build && cd build && cmake ../cachelib -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug && make install -j$(nproc)
3735 - name : " run tests"
3836 timeout-minutes : 60
39- run : cd opt/cachelib/ tests && ../../.. /run_tests.sh
37+ run : cd / opt/tests && $GITHUB_WORKSPACE /run_tests.sh
Original file line number Diff line number Diff line change 11name : build-cachelib-debian-10
22on :
3- push :
4- pull_request :
3+ schedule :
4+ - cron : ' 30 5 * * 0,3 '
55
66jobs :
77 build-cachelib-debian-10 :
You can’t perform that action at this time.
0 commit comments