mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
introduce github actions
This commit is contained in:
parent
027b2ef4a5
commit
67d98133aa
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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue