- language: c
- after_failure:
- - curl -v -H User-Agent:bot -H Content-Type:application/json -d '{"content":"**zpl** Latest build has FAILED!"}' https://discordapp.com/api/webhooks/$DISCORD_WEBHOOK_CHANNEL_ID/$DISCORD_WEBHOOK_TOKEN
- after_success:
- - curl -v -H User-Agent:bot -H Content-Type:application/json -d '{"content":"**zpl** Latest build has SUCCEEDED!"}' https://discordapp.com/api/webhooks/$DISCORD_WEBHOOK_CHANNEL_ID/$DISCORD_WEBHOOK_TOKEN
- script:
- - mkdir -p build
- - export INCLUDES="-Icode"
- - export LINKER="-pthread -lm -ldl"
- - gcc -g -std=c99 $INCLUDES test/build-test.c $LINKER -o build/test-gcc-c.o
- - clang -g -std=c99 $INCLUDES test/build-test.c $LINKER -o build/test-clang-c.o
- - g++ -g -std=c++11 $INCLUDES test/build-test.cpp $LINKER -o build/test-gpp-cpp.o
- - clang++ -g -std=c++11 $INCLUDES test/build-test.cpp $LINKER -o build/test-clang-cpp.o
|