-
Notifications
You must be signed in to change notification settings - Fork 9
36 lines (33 loc) · 1.13 KB
/
arm_toolchain_cmake.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
# ref: https://toolchains.bootlin.com/
name: arm Toolchain CMake
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
# Building using the github runner environement directly.
jobs:
arm:
strategy:
matrix:
targets: [
# https://go.dev/doc/install/source#environment
arm, # alias to armv7-eabihf
armeb, # alias to armv7eb-eabihf
armv7-eabihf, # bootlin
armebv7-eabihf #bootlin
]
fail-fast: false
name: Linux•Toolchain ${{matrix.targets}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build env stage
run: make --directory=ci toolchain_${{matrix.targets}}_env
- name: Build devel stage
run: make --directory=ci toolchain_${{matrix.targets}}_devel
- name: Build toolchain stage
run: make --directory=ci toolchain_${{matrix.targets}}_toolchain
- name: Build build stage
run: make --directory=ci toolchain_${{matrix.targets}}_build
- name: Build Test stage
run: make --directory=ci toolchain_${{matrix.targets}}_test