init commit

This commit is contained in:
Sergey Ladanov 2023-09-12 22:53:40 +03:00
commit 6b8df2f7b4
3 changed files with 42 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM node:16-bullseye
RUN apt-get update && \
apt-get install \
gcc-arm-none-eabi \
-y && \
rm -rf /var/cache/apt

17
README.md Normal file
View File

@ -0,0 +1,17 @@
## Пример настройки CI/CD
```
jobs:
build:
name: Building project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make
uses: embedd-actions/arm-gcc-ci@v1
with:
command: make --directory Release all
```

15
action.yml Normal file
View File

@ -0,0 +1,15 @@
name: 'ARM GCC build'
description: 'Building arm projects'
inputs:
command:
description: 'Command'
required: true
default: arm-none-eabi-gcc --version
runs:
using: 'docker'
image: 'Dockerfile'
args:
- /bin/bash
- -c
- ${{ inputs.command }}