Skip to content

Commit

Permalink
Add ctest run step
Browse files Browse the repository at this point in the history
  • Loading branch information
saharNooby committed Apr 18, 2023
1 parent 0b5dc66 commit b4e5adc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -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' }}
Expand Down Expand Up @@ -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' }}
Expand Down Expand Up @@ -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' }}
Expand Down

0 comments on commit b4e5adc

Please sign in to comment.