File tree Expand file tree Collapse file tree 2 files changed +64
-1
lines changed Expand file tree Collapse file tree 2 files changed +64
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CMake Build ARM
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' src/**'
7
+ - ' examples/**'
8
+ - ' lib/**'
9
+ - ' hw/**'
10
+ - ' .github/workflows/cmake_arm.yml'
11
+ pull_request :
12
+ branches : [ master ]
13
+ paths :
14
+ - ' src/**'
15
+ - ' examples/**'
16
+ - ' lib/**'
17
+ - ' hw/**'
18
+ - ' .github/workflows/cmake_arm.yml'
19
+
20
+ concurrency :
21
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
22
+ cancel-in-progress : true
23
+
24
+ jobs :
25
+ # ---------------------------------------
26
+ # Build ARM family
27
+ # ---------------------------------------
28
+ build-arm :
29
+ runs-on : ubuntu-latest
30
+ strategy :
31
+ fail-fast : false
32
+ matrix :
33
+ family :
34
+ # Alphabetical order
35
+ - ' imxrt'
36
+ steps :
37
+ - name : Setup Python
38
+ uses : actions/setup-python@v4
39
+ with :
40
+ python-version : ' 3.x'
41
+
42
+ - name : Install ARM GCC
43
+ uses : carlosperate/arm-none-eabi-gcc-action@v1
44
+ with :
45
+ release : ' 11.2-2022.02'
46
+
47
+ - name : Checkout TinyUSB
48
+ uses : actions/checkout@v3
49
+
50
+ - name : Get Dependencies
51
+ run : python3 tools/get_family_deps.py ${{ matrix.family }}
52
+
53
+ - name : Build
54
+ run : |
55
+ mkdir -p examples/build
56
+ cd examples/build
57
+ cmake -DFAMILY=${{ matrix.family }} -DBOARD=mimxrt1060_evk ..
58
+ cmake --build .
Original file line number Diff line number Diff line change @@ -22,7 +22,12 @@ family_add_subdirectory(hid_generic_inout)
22
22
family_add_subdirectory (hid_multiple_interface )
23
23
family_add_subdirectory (midi_test )
24
24
family_add_subdirectory (msc_dual_lun )
25
- family_add_subdirectory (net_lwip_webserver )
25
+
26
+ # FIXME temp skip net_lwip_webserver for imxrt for now
27
+ if (NOT ${FAMILY} STREQUAL "imxrt" )
28
+ family_add_subdirectory (net_lwip_webserver )
29
+ endif ()
30
+
26
31
family_add_subdirectory (uac2_headset )
27
32
family_add_subdirectory (usbtmc )
28
33
family_add_subdirectory (video_capture )
You can’t perform that action at this time.
0 commit comments