diff options
author | Willian Paixao <willian@ufpa.br> | 2021-12-05 13:58:44 +0100 |
---|---|---|
committer | Willian Paixao <willian@ufpa.br> | 2021-12-11 19:47:39 +0100 |
commit | 67d98133aac5ecb831ab7ae3f7519db1a765fb2a (patch) | |
tree | 9399aa823a134c244732fb519f24b9e4e929f19f | |
parent | 027b2ef4a5aa802306a1ed580dfe980040612c2f (diff) | |
download | Sensor-Watch-67d98133aac5ecb831ab7ae3f7519db1a765fb2a.tar.gz Sensor-Watch-67d98133aac5ecb831ab7ae3f7519db1a765fb2a.tar.bz2 Sensor-Watch-67d98133aac5ecb831ab7ae3f7519db1a765fb2a.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 |