From b9251ef214a10973374b5015503f94d4d8c1f345 Mon Sep 17 00:00:00 2001 From: christophe Date: Tue, 26 Dec 2023 11:18:00 +0100 Subject: [PATCH] Run on multiple platforms to test multiple compiler versions --- .github/workflows/ci.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa5665b7..792a26da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,12 +57,11 @@ jobs: run: cmake --build ./build_avx1_ext --config ${{matrix.config}} run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_std run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_ext - - if: "contains(${{matrix.platform}}, 'ubuntu') || contains(${{matrix.platform}}, 'windows')" - name: Build and Test GLM_TEST_ENABLE_SIMD_AVX - run: cmake -S. -B ./build_avx2_std -DGLM_TEST_ENABLE_SIMD_AVX2=ON -DGLM_TEST_ENABLE_CXX_${{matrix.std}}=ON - run: cmake -S. -B ./build_avx2_ext -DGLM_TEST_ENABLE_SIMD_AVX2=ON -DGLM_TEST_ENABLE_CXX_${{matrix.std}}=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON - run: cmake --build ./build_avx2_std --config ${{matrix.config}} - run: cmake --build ./build_avx2_ext --config ${{matrix.config}} - run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_std - run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_ext + - name: Build and Test GLM_TEST_ENABLE_SIMD_AVX2 + run: cmake -S. -B ./build_avx2_std -DGLM_TEST_ENABLE_SIMD_AVX2=ON -DGLM_TEST_ENABLE_CXX_${{matrix.std}}=ON + run: cmake -S. -B ./build_avx2_ext -DGLM_TEST_ENABLE_SIMD_AVX2=ON -DGLM_TEST_ENABLE_CXX_${{matrix.std}}=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON + run: cmake --build ./build_avx2_std --config ${{matrix.config}} + run: cmake --build ./build_avx2_ext --config ${{matrix.config}} + run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_std + run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_ext