introduce github actions
This commit is contained in:
parent
25d54101b1
commit
7fea11f34c
16
.github/workflows/main.yml
vendored
Normal file
16
.github/workflows/main.yml
vendored
Normal file
@ -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'
|
||||||
|
|
3
make.mk
3
make.mk
@ -20,7 +20,8 @@ else
|
|||||||
MKDIR = mkdir
|
MKDIR = mkdir
|
||||||
endif
|
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 += -fno-diagnostics-show-caret
|
||||||
CFLAGS += -fdata-sections -ffunction-sections
|
CFLAGS += -fdata-sections -ffunction-sections
|
||||||
CFLAGS += -funsigned-char -funsigned-bitfields
|
CFLAGS += -funsigned-char -funsigned-bitfields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user