Skip to content

unifying builds

unifying builds #704

Workflow file for this run

name: valgrind
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
workflow_dispatch:
env:
BUILD_DIR: ${{ github.workspace }}/build
TEST_DIR: ${{ github.workspace }}/build/tests
jobs:
build:
runs-on: [ ubuntu-22.04 ]
steps:
- uses: actions/checkout@v4.1.1
- name: configuring CMake
run: cmake -B ${{ env.BUILD_DIR }} -S ${{ github.workspace }}
- name: building
run: cmake --build ${{ env.BUILD_DIR }}
- name: Installing valgrind
run: sudo apt update --fix-missing && sudo apt install valgrind
- name: setting up python3
run: |
sudo apt update &&\
sudo apt install build-essential software-properties-common -y &&\
sudo add-apt-repository ppa:deadsnakes/ppa &&\
sudo apt update &&\
sudo apt install python3.11 -y &&\
python3 --version
- name: python venv setting up
run: |
python3 -m venv venv &&\
source venv/bin/activate
- name: running valgrind
working-directory: ${{ env.TEST_DIR }}
run: python run_valgrind.py