update to ci file

This commit is contained in:
Walter Julius Hennecke 2019-09-21 09:35:10 +02:00
parent c623746ce2
commit 0f0de63fea
2 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,8 @@ build:
- "cmake --build . --target unittest_common"
test:
dependencies:
- build
script:
- "cd cmake-build_debug"
- "./unittest_common"

View file

@ -594,6 +594,7 @@ void Vector4Scale( const vec4_t in, vec_t scale, vec4_t out );
void VectorRotate( vec3_t in, vec3_t matrix[3], vec3_t out );
int32_t Q_log2(int32_t val);
#undef random
inline auto random() { return ((rand () & 0x7fff) / ((float)0x7fff)); }
#define crandom() (2.0 * (random() - 0.5))