PMEM Valgrind #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run all tests with 'force-enabled' valgrind. | |
# | |
# This workflow is run on 'self-hosted' runners. | |
name: PMEM Valgrind | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 23 * * 6' # At 23:00 on Saturday. | |
jobs: | |
linux: | |
name: PMEM_valgrind | |
if: github.repository == 'pmem/pmdk' | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 4320 # wait max 3 days | |
strategy: | |
fail-fast: false | |
matrix: | |
script: ['sh', 'py'] | |
config: ['drd', 'pmemcheck', 'memcheck', 'helgrind'] | |
build: ['debug', 'nondebug', 'static_debug', 'static_nondebug'] | |
os: [[self-hosted, rhel],[self-hosted, opensuse]] | |
env: | |
WORKDIR: utils/gha-runners | |
steps: | |
- name: Clone the git repo | |
uses: actions/checkout@v3 | |
- name: Get system information | |
run: ./$WORKDIR/get-system-info.sh | |
- name: Build | |
run: ./$WORKDIR/build-pmdk.sh | |
- name: Create testconfig file | |
run: ./$WORKDIR/create-testconfig.sh | |
- name: Run tests | |
run: cd src/test/ && ./RUNTESTS.${{ matrix.script }} --force-enable ${{ matrix.config }} -b ${{ matrix.build }} |