Skip to content

Commit f2f4a81

Browse files
committed
dev: prefix each result with board
1 parent 19b5ce3 commit f2f4a81

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Cleanup old packages
1818
run: rm -f *.deb
1919
- name: Build packages
20-
run: make all-boards
20+
run: make all
2121
- name: Release package
2222
env:
2323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ export RELEASE ?= 1
22
export RELEASE_NAME ?= $(shell cat VERSION)-$(RELEASE)
33
export RELEASE_VERSION ?= $(RELEASE_NAME)-g$(shell git rev-parse --short HEAD)
44

5+
SHELL := /bin/bash
6+
57
all:
68

79
version:
@@ -12,13 +14,17 @@ release:
1214

1315
ifeq (,$(BOARD_TARGET))
1416

15-
all:
16-
@echo $(patsubst root-%,%-board,$(wildcard root-*))
17+
all: $(patsubst root-%,%-board,$(wildcard root-*))
18+
clean: $(patsubst root-%,%-clean,$(wildcard root-*))
1719

18-
all-boards: $(patsubst root-%,%-board,$(wildcard root-*))
20+
list:
21+
@echo $(patsubst root-%,%-board,$(wildcard root-*))
1922

2023
%-board:
21-
make BOARD_TARGET=$(patsubst %-board,%,$@)
24+
make BOARD_TARGET=$(patsubst %-board,%,$@) &> >(ts "[$(patsubst %-board,%,$@)]")
25+
26+
%-clean:
27+
make clean BOARD_TARGET=$(patsubst %-clean,%,$@) &> >(ts "[$(patsubst %-clean,%,$@)]")
2228

2329
else
2430

0 commit comments

Comments
 (0)