Cleanup useless/non-constexpr branchs #2447
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################################################################### | |
## EVE - Expressive Vector Engine | |
## Copyright : EVE Project Contributors | |
## SPDX-License-Identifier: BSL-1.0 | |
#################################################################################################### | |
name: EVE - Randomized Precision Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: random-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
################################################################################################## | |
## Randomized precision tests | |
################################################################################################## | |
random: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/jfalcou/compilers:v7 | |
strategy: | |
fail-fast: false | |
matrix: | |
cfg: | |
- { comp: clang, arch: x86 , opts: -msse2 } | |
- { comp: clang, arch: x86 , opts: -mavx2 } | |
- { comp: clang, arch: aarch64, opts: -Wno-psabi} | |
steps: | |
- name: Fetch current branch | |
uses: actions/[email protected] | |
- name: Prepare EVE with ${{ matrix.cfg.comp }} @ ${{ matrix.cfg.arch }} with ${{ matrix.cfg.opts }} | |
run: | | |
mkdir build | |
cd build | |
cmake .. -G Ninja -DEVE_OPTIONS="${{ matrix.cfg.opts }}" \ | |
-DCMAKE_TOOLCHAIN_FILE="../cmake/toolchain/${{ matrix.cfg.comp }}.${{ matrix.cfg.arch }}.cmake" \ | |
-DEVE_BUILD_RANDOM=ON | |
- name: Compile Random Sampling Tests | |
run: | | |
cd build | |
ninja random.exe -j 4 | |
- name: Running Random Sampling Tests | |
run: | | |
cd build | |
ctest --output-on-failure -j 4 -R ^random.*.exe |