-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.1 KB
/
Build.yml
File metadata and controls
38 lines (32 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Buid Project
on:
pull_request:
branches: [ "develop", "master" ]
jobs:
job_linux_20_04_64_gcc:
name: ubuntu-20.04 gcc
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: arm-none-eabi-gcc
uses: fiam/arm-none-eabi-gcc@v1
with:
release: 10-2020-q4
- name: Build CMake
# You may pin to the exact commit or the version.
# uses: ashutoshvarma/action-cmake-build@0fbeeac8b1f9c8aef99e9eae9d78529ed3b0364b
uses: ashutoshvarma/action-cmake-build@v1
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
with:
# Build directory where build files will be generated
build-dir: ${{ runner.workspace }}/build
# CMake build type (Release, Debug, MinSizeRel, RelWithDebInfo)
build-type: Debug
# C Compiler for toolchain
#cc: arm-none-eabi-gcc
# C++ Compiler for toolchain
#cxx: arm-none-eabi-g++
# CMake build target
target: ControlBlock.elf
# Number of concurrent jobs for build and test