Skip to content

Commit d71cc75

Browse files
committed
[CI] run-make: experimental thumb test
1 parent 7c98d2e commit d71cc75

File tree

1 file changed

+21
-0
lines changed
  • src/test/run-make/thumb-none-cortex-m

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Don't use the definitions
2+
#-include ../../run-make-fulldeps/tools.mk
3+
4+
ifeq ($(TARGET),thumbv7m-none-eabi)
5+
6+
#TMP_DIR := $(shell mktemp -d)
7+
TMP_DIR := /tmp/safe_place
8+
CRATE := cortex-m
9+
10+
all:
11+
env > env.txt
12+
mkdir -p $(TMP_DIR)
13+
-cd $(TMP_DIR) && rm -rf $(CRATE)
14+
cd $(TMP_DIR) && $(CARGO) clone $(CRATE) --vers 0.5.0
15+
pwd
16+
cd $(TMP_DIR) && cd $(CRATE) && $(CARGO) build --target $(TARGET)
17+
else
18+
19+
all:
20+
21+
endif

0 commit comments

Comments
 (0)