/semaphoreci-gcc-arm-test

Test Semaphore CI integration with gcc-arm projects using UNITY for unit tests

Primary LanguageC

semaphoreci-gcc-arm-test

Build Status

Test Semaphore CI integration with GCC ARM projects using Throw The Switch's Unity unit-testing framework for C unit tests.

This is a test repository that demonstrates a proof-of-concept for the University of Waterloo's Midnight Sun Solar Rayce Car team's software team (our GitHub organization can be found at uw-midsun).

Usage

To use, just enable the Semaphore CI integration for your project, and then modify the setup scripts under Build Settings as appropriate. Currently, the configuration has Semaphore:

  1. Install dependencies from the ppas
  2. Build GNU Make from source

After cloning the project repository, it updates all the submodules using

git submodule update --init --recursive

And then builds a project:

make build_all PLATFORM=$PLATFORM

Our Makefile is set up such that it returns the exit code in $?. So Semaphore CI will detect that make failed, and will report the appropriate error code.