Skip to content

Eliminate redundant map lookups in combine_factors and clean_factor. #26

Eliminate redundant map lookups in combine_factors and clean_factor.

Eliminate redundant map lookups in combine_factors and clean_factor. #26

on:
push:
branches:
- master
pull_request:
name: Check CMake install
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get latest CMake
uses: lukka/get-cmake@latest
- name: Configure the build
run: cmake -S . -B build -DSCRAN_AGGREGATE_TESTS=OFF
- name: Install the library
run: sudo cmake --install build
- name: Test downstream usage
run: |
mkdir _downstream
touch _downstream/source.cpp
cat << EOF > _downstream/CMakeLists.txt
cmake_minimum_required(VERSION 3.24)
project(test_install)
add_executable(whee source.cpp)
find_package(libscran_scran_aggregate)
target_link_libraries(whee libscran::scran_aggregate)
EOF
cd _downstream && cmake -S . -B build