patch division by zero crash #8
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
name: Run RIFT tests | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Configure CMake project | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DRIFT_BUILD_TESTS=ON | |
- name: Build project | |
run: cmake --build build | |
- name: Run tests | |
run: | | |
cd build | |
./rift_test | |
if [ $? -ne 0 ]; then | |
exit 1 | |
fi |