Skip to content

valgrind OPAE tests #259

valgrind OPAE tests

valgrind OPAE tests #259

Workflow file for this run

name: valgrind OPAE tests
# https://github.com/ossf/scorecard/blob/9ff40de429d0c7710076070387c8755494a9f187/docs/checks.md#token-permissions
permissions:
contents: read
on:
schedule:
- cron: '0 7 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update
run: sudo apt-get update -y
- name: upgrade
run: sudo -E DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
- name: install
run: sudo -E DEBIAN_FRONTEND=noninteractive apt-get install -y uuid-dev libjson-c-dev libhwloc-dev libtbb-dev valgrind
- name: configure
run: mkdir ${{ github.workspace }}/.build && cd ${{ github.workspace }}/.build && cmake .. -DCMAKE_BUILD_TYPE=Debug -DOPAE_ENABLE_MOCK=ON -DOPAE_BUILD_TESTS=ON
- name: make
run: cd ${{ github.workspace }}/.build && make -j
- name: set hugepages
run: sudo sysctl -w vm.nr_hugepages=8
- name: test
continue-on-error: true
run: cd ${{ github.workspace }}/.build && ${{ github.workspace }}/scripts/valgrind ${{ github.workspace }}/.build
env:
OPAE_EXPLICIT_INITIALIZE: 1
LD_LIBRARY_PATH: ${{ github.workspace }}/.build/lib
- name: Archive Results
uses: actions/upload-artifact@v3
with:
name: valgrind
path: ${{ github.workspace }}/.build/valgrind