-
Notifications
You must be signed in to change notification settings - Fork 20
62 lines (62 loc) · 2.53 KB
/
memcheck.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: infinispan-cpp-client-memcheck
env:
ISPN_VER: "15.0.0.Dev07"
CLIENT_VERSION: ${{ github.event.release.tag_name }}
on:
push:
branches:
- 'main'
- '9.3.x'
pull_request:
branches:
- 'main'
- '9.3.x'
jobs:
run-memcheck-tests-stream-8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- run: echo $GITHUB_BASE_REF
- run: mkdir build && chmod a+rwx . documentation build
- run: podman build -t quay.io/rigazilla/ci-build-centos-8:latest -f ci-build/centos-stream8.Dockerfile .
- name: Run CI tests
id: ci-tests
run: podman run -v `pwd`:/home/jboss/cpp-client quay.io/rigazilla/ci-build-centos-8:latest /bin/bash -c "cd cpp-client && INFINISPAN_VERSION=15.0.0.Dev07 CLIENT_VERSION=$GITHUB_BASE_REF.$GITHUB_REF_SLUG PLATFORM_TAG=el8 ./build.sh MEMECHECK"
- name: Archive memcheck results
if: failure() || success()
uses: actions/[email protected]
with:
name: memcheck-report-centos8
path: build/Testing/Temporary/*
retention-days: 10
- name: Fail on previous errors
if: failure() && steps.test-app.outcome != 'success'
run: |
echo "Result of run CI tests was '${{ steps.ci-tests.outcome }}'"
exit 1
run-memcheck-tests-stream-9:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- run: echo $GITHUB_REF_NAME
- run: mkdir build && chmod a+rwx . documentation build
- run: podman build -t quay.io/rigazilla/ci-build-centos-9:latest -f ci-build/centos-stream9.Dockerfile .
- name: Run CI tests
id: ci-tests
run: podman run -v `pwd`:/home/jboss/cpp-client quay.io/rigazilla/ci-build-centos-9:latest /bin/bash -c "cd cpp-client && PATH=\$JAVA_HOME/bin:$PATH INFINISPAN_VERSION=15.0.0.Dev07 CLIENT_VERSION=$GITHUB_BASE_REF.$GITHUB_REF_SLUG PLATFORM_TAG=el9 ./build.sh MEMCHECK"
- name: Archive memcheck results
if: failure() || success()
uses: actions/[email protected]
with:
name: memcheck-report-centos9
path: build/Testing/Temporary/*
retention-days: 10
- name: Fail on previous errors
if: failure() && steps.test-app.outcome != 'success'
run: |
echo "Result of run CI tests was '${{ steps.ci-tests.outcome }}'"
exit 1