mirror of
https://github.com/embedd-actions/arm-gcc-ci.git
synced 2024-12-25 08:22:07 +03:00
init commit
This commit is contained in:
commit
6b8df2f7b4
10
Dockerfile
Normal file
10
Dockerfile
Normal 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
17
README.md
Normal 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
15
action.yml
Normal 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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user