@@ -17,38 +17,6 @@ defaults:
17
17
working-directory : ot3-firmware
18
18
19
19
jobs :
20
- build-cross-config :
21
- name : Configure for cross-compiling
22
- runs-on : " ubuntu-20.04"
23
- timeout-minutes : 10
24
- steps :
25
- - name : Checkout github actions directory
26
- uses : actions/checkout@v4
27
- with :
28
- sparse-checkout : |
29
- .github/actions
30
- sparse-checkout-cone-mode : false
31
- path : actions
32
-
33
- - name : Checkout ot3-firmware repository
34
- uses : actions/checkout@v4
35
- with :
36
- path : ot3-firmware
37
-
38
- - name : Setup main
39
- uses : ./actions/.github/actions/main-setup
40
- with :
41
- cache-version : ${{ secrets.CACHE_VERSION }}
42
-
43
- - name : Configure
44
- run : cmake --preset=cross .
45
-
46
- - name : Upload artifacts
47
- uses : actions/upload-artifact@v4
48
- with :
49
- name : build-cross
50
- path : ot3-firmware/build-cross
51
-
52
20
format-ci-only :
53
21
needs : build-cross-config
54
22
runs-on : " ubuntu-20.04"
@@ -76,14 +44,11 @@ jobs:
76
44
with :
77
45
cache-version : ${{ secrets.CACHE_VERSION }}
78
46
79
- - uses : actions/download-artifact@v4
80
- with :
81
- name : build-cross
82
- path : ot3-firmware/build-cross
47
+ - name : Configure
48
+ run : cmake --preset=cross .
83
49
84
50
- name : Run format-ci
85
51
run : |
86
- ls -la
87
52
cd build-cross
88
53
make ${{ matrix.target }}-format-ci
89
54
@@ -114,16 +79,13 @@ jobs:
114
79
with :
115
80
cache-version : ${{ secrets.CACHE_VERSION }}
116
81
117
- - uses : actions/download-artifact@v4
118
- with :
119
- name : build-cross
120
- path : ot3-firmware/build-cross
82
+ - name : Configure
83
+ run : cmake --preset=cross .
121
84
122
85
- name : Build applications
123
86
run : |
124
87
cd build-cross
125
88
make ${{ matrix.target }}-applications
126
- make ${{ matrix.target }}-format-ci
127
89
128
90
- name : Run format-ci
129
91
run : |
0 commit comments