Skip to content

Commit ffd416e

Browse files
committed
Fix CI
1 parent 157f35a commit ffd416e

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
container: mbedos/mbed-os-env:stable
12+
container: ghcr.io/armmbed/mbed-os-env:mbed-os-6.15-latest
1313

1414
env:
1515
# The list of projects to run on. This should just run for each dir that includes a mbed_app.json
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
for PROJECT in $PROJECTS; do
2727
pushd $PROJECT
28-
mbed deploy
28+
make deps
2929
popd
3030
done
3131
@@ -35,6 +35,6 @@ jobs:
3535
run: |
3636
for PROJECT in $PROJECTS; do
3737
pushd $PROJECT
38-
mbed compile
38+
make test
3939
popd
4040
done

bms/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,9 @@ debug: build-debug
6565
.PHONY: clean
6666
clean:
6767
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

0 commit comments

Comments
 (0)