Skip to content

Rework workflows

Rework workflows #1254

Workflow file for this run

name: CMake
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
workflow_dispatch:
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
BUILD_TYPE: [ Release, Debug ]
steps:
- uses: actions/checkout@v3
- name: Download build files
uses: ./.github/composite-actions/download-files
with:
download-pybind: false
download-datasets: true
- name: Configure CMake
run: >
cmake -B ${{github.workspace}}/build
-DCMAKE_C_COMPILER=gcc-10
-DCMAKE_CXX_COMPILER=g++-10
-DBOOST_ROOT=${{github.workspace}}/lib/boost
-DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}}
-Dgtest_disable_pthreads=OFF
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build/target
shell: bash
run: ./Desbordante_test --gtest_filter='*:-*HeavyDatasets*'