diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07807e2..ccb994a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,6 +42,12 @@ jobs: cmake -DBUILD_SHARED_LIBS=ON .. cmake --build . --config Release + - name: Test + id: cmake_test + run: | + cd build + ctest --verbose + - name: Get commit hash id: commit if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} @@ -92,6 +98,12 @@ jobs: cmake -DBUILD_SHARED_LIBS=ON -DRWKV_AVX2=OFF .. cmake --build . --config Release + - name: Test + id: cmake_test + run: | + cd build + ctest --verbose + - name: Get commit hash id: commit if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} @@ -146,6 +158,12 @@ jobs: cmake .. -DBUILD_SHARED_LIBS=ON ${{ matrix.defines }} cmake --build . --config Release + - name: Test + id: cmake_test + run: | + cd build + ctest --verbose + - name: Check AVX512F support id: check_avx512f if: ${{ matrix.build == 'avx512' }}