diff options
author | Willian Paixao <willian@ufpa.br> | 2021-12-05 13:58:44 +0100 |
---|---|---|
committer | Willian Paixao <willian@ufpa.br> | 2021-12-05 18:03:12 +0100 |
commit | 7fea11f34cbaffe81e9ed709a8e7e1cb0600f7ce (patch) | |
tree | eb85fd707b761cbcd47049eb53675f58c8b288a9 | |
parent | 25d54101b17f87f73c2c8ec8a1954327bb99dfcd (diff) | |
download | Sensor-Watch-7fea11f34cbaffe81e9ed709a8e7e1cb0600f7ce.tar.gz Sensor-Watch-7fea11f34cbaffe81e9ed709a8e7e1cb0600f7ce.tar.bz2 Sensor-Watch-7fea11f34cbaffe81e9ed709a8e7e1cb0600f7ce.zip |
introduce github actions
-rw-r--r-- | .github/workflows/main.yml | 16 | ||||
-rw-r--r-- | make.mk | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..ba485570 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +name: Build + +on: [pull_request, push] + +jobs: + build: + container: + image: ghcr.io/armmbed/mbed-os-env:latest + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Compile Starter Project + run: make + working-directory: 'apps/beats-time/make' + @@ -20,7 +20,8 @@ else MKDIR = mkdir endif -CFLAGS += -W -Wall --std=gnu99 -Os +CFLAGS += -W -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations +CFLAGS += --std=gnu99 -Os CFLAGS += -fno-diagnostics-show-caret CFLAGS += -fdata-sections -ffunction-sections CFLAGS += -funsigned-char -funsigned-bitfields |