Skip to content

Commit

Permalink
common: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
janekmi committed Aug 25, 2023
1 parent 29225a3 commit 4216478
Showing 1 changed file with 64 additions and 64 deletions.
128 changes: 64 additions & 64 deletions .github/workflows/pmem_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,67 +39,67 @@ jobs:
force_enable: '["drd", "helgrind"]'


# Static builds are tested in this limited scope only.
static:
name: Static
if: github.repository == 'pmem/pmdk'
runs-on: [self-hosted, rhel]
strategy:
fail-fast: false
matrix:
build: [static_debug, static_nondebug]

steps:
- uses: actions/checkout@v3

- name: Test prepare
uses: ./.github/actions/pmem_test_prepare

- name: Test run
uses: ./.github/actions/pmem_test_run
with:
build: ${{ matrix.build }}


# Testing the fault injection scenarios requires including this capability
# at compile time.
fault_injection:
name: Fault injection
if: github.repository == 'pmem/pmdk'
runs-on: [self-hosted, rhel]

steps:
- uses: actions/checkout@v3

- name: Test prepare
uses: ./.github/actions/pmem_test_prepare
with:
fault_injection: '1'

- name: Test run
uses: ./.github/actions/pmem_test_run
with:
build: nondebug # only the production build is considered
test_label: fault_injection # only dedicated scenarios


# By default, PMDK is built with NDCTL in order to provide RAS features.
# This build is only viable as long as DAOS builds PMDK with NDCTL_ENABLE=n
# https://github.com/daos-stack/pmdk/pull/12
ndctl_enable_n:
name: Without ndctl
if: github.repository == 'pmem/pmdk'
runs-on: [self-hosted, rhel]

steps:
- uses: actions/checkout@v3

- name: Test prepare
uses: ./.github/actions/pmem_test_prepare
with:
ndctl_enable: n

- name: Test run
uses: ./.github/actions/pmem_test_run
with:
build: nondebug # only the production build is considered
# # Static builds are tested in this limited scope only.
# static:
# name: Static
# if: github.repository == 'pmem/pmdk'
# runs-on: [self-hosted, rhel]
# strategy:
# fail-fast: false
# matrix:
# build: [static_debug, static_nondebug]

# steps:
# - uses: actions/checkout@v3

# - name: Test prepare
# uses: ./.github/actions/pmem_test_prepare

# - name: Test run
# uses: ./.github/actions/pmem_test_run
# with:
# build: ${{ matrix.build }}


# # Testing the fault injection scenarios requires including this capability
# # at compile time.
# fault_injection:
# name: Fault injection
# if: github.repository == 'pmem/pmdk'
# runs-on: [self-hosted, rhel]

# steps:
# - uses: actions/checkout@v3

# - name: Test prepare
# uses: ./.github/actions/pmem_test_prepare
# with:
# fault_injection: '1'

# - name: Test run
# uses: ./.github/actions/pmem_test_run
# with:
# build: nondebug # only the production build is considered
# test_label: fault_injection # only dedicated scenarios


# # By default, PMDK is built with NDCTL in order to provide RAS features.
# # This build is only viable as long as DAOS builds PMDK with NDCTL_ENABLE=n
# # https://github.com/daos-stack/pmdk/pull/12
# ndctl_enable_n:
# name: Without ndctl
# if: github.repository == 'pmem/pmdk'
# runs-on: [self-hosted, rhel]

# steps:
# - uses: actions/checkout@v3

# - name: Test prepare
# uses: ./.github/actions/pmem_test_prepare
# with:
# ndctl_enable: n

# - name: Test run
# uses: ./.github/actions/pmem_test_run
# with:
# build: nondebug # only the production build is considered

0 comments on commit 4216478

Please sign in to comment.