Fix the imgui test #512
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: Tests | |
on: | |
push: | |
branches: [ "master", "dev" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Pull submodules | |
run: git submodule update --init --recursive | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install valgrind | |
- name: Compile | |
run: mkdir build ; cd build ; cmake .. -DTESTS=On -DSTATIC_SDL=On ; make -j4 | |
- name: Run tests | |
run: cd build/tests ; ./test quick | |
- name: Valgrind memcheck | |
run: chmod +x ${GITHUB_WORKSPACE}/.github/workflows/valgrind_test.sh ; ${GITHUB_WORKSPACE}/.github/workflows/valgrind_test.sh |