Skip to content

tests: factor out looping into macro #1368

tests: factor out looping into macro

tests: factor out looping into macro #1368

Workflow file for this run

name: Ubuntu 20.04 Sanitized CI (GCC 9)
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ubuntu-build:
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- {shared: ON}
- {shared: OFF}
steps:
- uses: actions/checkout@v4
- name: Use cmake
run: |
mkdir build &&
cd build &&
cmake -DCMAKE_CXX_FLAGS=-Werror -DSIMDUTF_ALWAYS_INCLUDE_FALLBACK=ON -DSIMDUTF_BENCHMARKS=ON -DCMAKE_INSTALL_PREFIX:PATH=destination -DBUILD_SHARED_LIBS=${{matrix.shared}} .. -DSIMDUTF_BENCHMARKS=OFF &&
cmake --build . &&
ctest -j --output-on-failure &&
cmake --install . &&
cd ../tests/installation_tests/find &&
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .