Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/build-cachelib-centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ jobs:
name: "CentOS/latest - Build CacheLib with all dependencies"
runs-on: ubuntu-latest
# Docker container image name
container: "centos:latest"
container: "ghcr.io/igchor/cachelib-deps:centos8"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct? It looks like a personal setting infiltrating the yaml file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrambacher this is a temporary workaround - I want to change it to pmem organization but it requires the admin to make the package public (and he is on vacation right now)

steps:
- name: "update packages"
run: dnf upgrade -y
- name: "install sudo,git"
run: dnf install -y sudo git cmake gcc
- name: "System Information"
run: |
echo === uname ===
Expand All @@ -32,8 +28,10 @@ jobs:
gcc -v
- name: "checkout sources"
uses: actions/checkout@v2
- name: "print workspace"
run: echo $GITHUB_WORKSPACE
- name: "build CacheLib using build script"
run: ./contrib/build.sh -j -v -T
run: mkdir build && cd build && cmake ../cachelib -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug && make install -j$(nproc)
- name: "run tests"
timeout-minutes: 60
run: cd opt/cachelib/tests && ../../../run_tests.sh
run: cd /opt/tests && $GITHUB_WORKSPACE/run_tests.sh
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-debian.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: build-cachelib-debian-10
on:
push:
pull_request:
schedule:
- cron: '30 5 * * 0,3'

jobs:
build-cachelib-debian-10:
Expand Down