File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ name: CI
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [ main ]
6
6
pull_request :
7
- branches : [ master ]
7
+ branches : [ main ]
8
8
9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
- container : mbedos/ mbed-os-env:stable
12
+ container : ghcr.io/armmbed/ mbed-os-env:mbed-os-6.15-latest
13
13
14
14
env :
15
15
# The list of projects to run on. This should just run for each dir that includes a mbed_app.json
25
25
run : |
26
26
for PROJECT in $PROJECTS; do
27
27
pushd $PROJECT
28
- mbed deploy
28
+ make deps
29
29
popd
30
30
done
31
31
35
35
run : |
36
36
for PROJECT in $PROJECTS; do
37
37
pushd $PROJECT
38
- mbed compile
38
+ make test
39
39
popd
40
40
done
Original file line number Diff line number Diff line change @@ -65,3 +65,9 @@ debug: build-debug
65
65
.PHONY : clean
66
66
clean :
67
67
rm -rf $(BUILD_DIR )
68
+
69
+ .PHONY : test
70
+ test :
71
+ # Run all builds for testing
72
+ make MBED_TARGET=LPC1768 MBED_BUILD_PROFILE=debug build
73
+ make MBED_TARGET=LPC1768 MBED_BUILD_PROFILE=release build
You can’t perform that action at this time.
0 commit comments