-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (37 loc) · 1.04 KB
/
ci.build.yml
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
38
39
40
41
42
43
44
45
46
47
name: Build
on:
pull_request:
push:
branches: ['main', 'develop']
jobs:
CMake:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Prepare"
working-directory: ${{runner.workspace}}/cortex
run: cmake -E make_directory ${{runner.workspace}}/cortex/target
- name: "Configure"
working-directory: ${{runner.workspace}}/cortex/target
run: cmake ${{runner.workspace}}/cortex
- name: "Build"
working-directory: ${{runner.workspace}}/cortex/target
run: cmake --build .
Make:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install ARM Toolchain"
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '10-2020-q4'
- name: "Build"
run: make