1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
name: Ubuntu 22.04 CI (GCC 11)
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ubuntu-build:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- {shared: ON, type : Debug}
- {shared: OFF, type : Debug}
- {shared: ON, type : Release}
- {shared: OFF, type : Release}
steps:
- uses: actions/checkout@v4
- name: Use cmake
run: |
mkdir build &&
cd build &&
cmake -DCMAKE_CXX_FLAGS=-Werror -DSIMDUTF_ALWAYS_INCLUDE_FALLBACK=ON -DCMAKE_INSTALL_PREFIX:PATH=destination -DBUILD_SHARED_LIBS=${{matrix.shared}} .. -DSIMDUTF_BENCHMARKS=OFF -DSIMDUTF_FAST_TESTS=On &&
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 .
|