mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Speed up build + tests for TravisCI
This commit is contained in:
parent
712707fe87
commit
ad16f40325
2 changed files with 4 additions and 3 deletions
|
@ -101,9 +101,10 @@ before_script:
|
|||
|
||||
script:
|
||||
- cmake -Werror=dev -DCMAKE_INSTALL_PREFIX=$HOME/fluidsynth_install ${CMAKE_FLAGS} -Denable-portaudio=1 -Denable-ladspa=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 ..
|
||||
- ${BW} make -j4
|
||||
- echo Can handle `nproc` jobs in parallel
|
||||
- ${BW} make -j`nproc`
|
||||
- ls -la
|
||||
- make check
|
||||
- make -j`nproc` check
|
||||
- make install
|
||||
- cd ..
|
||||
- ${SONARSC}
|
||||
|
|
|
@ -18,7 +18,7 @@ void wait_and_free(fluid_synth_t* synth, int id, const char* calling_func)
|
|||
if(fluid_timer_is_running(timer))
|
||||
{
|
||||
/* timer still running, wait a bit*/
|
||||
fluid_msleep(50 * fluid_timer_get_interval(timer));
|
||||
fluid_msleep(2 * fluid_timer_get_interval(timer));
|
||||
TEST_ASSERT(!fluid_timer_is_running(timer));
|
||||
}
|
||||
delete_fluid_timer(timer);
|
||||
|
|
Loading…
Reference in a new issue