Skip to content

fix design where the clock signal is absent; fix https://github.com/K… #329

fix design where the clock signal is absent; fix https://github.com/K…

fix design where the clock signal is absent; fix https://github.com/K… #329

Workflow file for this run

name: Memtest
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip test')"
steps:
- uses: actions/checkout@v2
- name: Checkout submodules 🖥️
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Install Valgrind
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y valgrind cmake
cmake --version
valgrind --version
- name: Build ctest 🔨
shell: bash
run: mkdir build && cd build && cmake .. && make -j
env:
CC: gcc-10
CXX: g++-10
- name: Run memtest 👾
shell: bash
run: |
cd build
valgrind --version
ctest --overwrite MemoryCheckCommandOptions="--leak-check=full --error-exitcode=100" -T memcheck
- uses: actions/upload-artifact@v2
if: failure()
with:
name: memcheck-log
path: build/Testing