1111 strategy :
1212 matrix :
1313 target :
14- - { platform: 's390x', dir: 's390x-linux-gnu', flags: '-mzvector -march=z14', full: 'OFF' }
14+ - { platform: 's390x', dir: 's390x-linux-gnu', full: 'OFF' }
1515 sys :
1616 - { compiler: 'gcc', version: '14' }
1717 steps :
@@ -34,15 +34,22 @@ jobs:
3434 uses : actions/checkout@v6
3535 - name : Setup
3636 run : |
37- cmake -B _build \
37+ cmake -B build/ \
3838 -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON \
3939 -DBUILD_BENCHMARK=${{ matrix.target.full }} -DBUILD_EXAMPLES=${{ matrix.target.full }} \
4040 -DCMAKE_BUILD_TYPE=Release \
4141 -DCMAKE_C_FLAGS="${{ matrix.target.flags }}" \
4242 -DCMAKE_CXX_FLAGS="${{ matrix.target.flags }}" \
4343 -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/.github/toolchains/${{ matrix.sys.compiler }}-${{ matrix.target.dir }}.cmake
4444 - name : Build
45- run : cmake --build _build --verbose -j1
45+ run : cmake --build build/ --verbose -j1
4646 - name : Testing xsimd
47- run : qemu-${{ matrix.target.platform }} -L /usr/${{ matrix.target.dir}}/ ./test/test_xsimd
48- working-directory : ${{ github.workspace }}/_build
47+ run : |
48+ # Set CPU feature test expectations, 0 is explicit absence of the feature
49+ export XSIMD_TEST_CPU_ASSUME_SSE4_2="0"
50+ export XSIMD_TEST_CPU_ASSUME_NEON64="0"
51+ export XSIMD_TEST_CPU_ASSUME_RVV="0"
52+ export XSIMD_TEST_CPU_ASSUME_VSX="0"
53+ export XSIMD_TEST_CPU_ASSUME_VXE="1"
54+
55+ qemu-${{ matrix.target.platform }} -L /usr/${{ matrix.target.dir}}/ ./build/test/test_xsimd
0 commit comments