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 8
8
name : " CentOS/latest - Build CacheLib with all dependencies"
9
9
runs-on : ubuntu-latest
10
10
# Docker container image name
11
- container : " centos:latest "
11
+ container : " ghcr.io/igchor/cachelib-deps:centos8 "
12
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
13
- name : " System Information"
18
14
run : |
19
15
echo === uname ===
32
28
gcc -v
33
29
- name : " checkout sources"
34
30
uses : actions/checkout@v2
31
+ - name : " print workspace"
32
+ run : echo $GITHUB_WORKSPACE
35
33
- 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)
37
35
- name : " run tests"
38
36
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 1
1
name : build-cachelib-debian-10
2
2
on :
3
- push :
4
- pull_request :
3
+ schedule :
4
+ - cron : ' 30 5 * * 0,3 '
5
5
6
6
jobs :
7
7
build-cachelib-debian-10 :
You can’t perform that action at this time.
0 commit comments