File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,23 @@ jobs:
3535 --env GITHUB_REF_NAME="$GITHUB_REF_NAME" \
3636 ghcr.io/sarus-suite/sarus-hooks/ci-runner:latest \
3737 bash -euxc '
38- mkdir -p $TMP_DIR/dist
38+ mkdir -p $TMP_DIR/opt
39+ cd $TMP_DIR/opt
40+ git clone --recursive https://github.com/sarus-suite/libsarus.git
41+ cd libsarus
3942
40- export VER=opensuse-15.5
43+ # Building libsarus to std system prefix
44+ mkdir -p build && cd build
45+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
46+ make -j
47+ make install
4148
49+ # Building hooks
50+ cd $TMP_DIR/sarus-hooks
51+ cmake -S . -B build \
52+ -DBUILD_DROPBEAR=0 \
53+ -DENABLE_UNIT_TESTS=0
54+ cmake --install build --prefix /scratch/local/podman-hooks
4255 '
4356 working-directory : ${{ env.TMP_DIR }}/sarus-hooks
4457
You can’t perform that action at this time.
0 commit comments