Skip to content

Commit 1310a71

Browse files
committed
build: move test to different step
Signed-off-by: Andrés J. Díaz <ajdiaz@ajdiaz.me>
1 parent 98e0f52 commit 1310a71

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.builds/archlinux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ sources:
33
- https://git.sr.ht/~ajdiaz/bashc
44
tasks:
55
- build: |
6+
make -C bashc
7+
- test: |
68
make -C bashc test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
all:
77
@./scripts/build.sh && rm -f ./releases/bash
88

9-
test: all
9+
test:
1010
@echo -e "#! /bin/bash\necho \"test OK\"" > test.sh
1111
./releases/bashc ./test.sh test.bin && \
1212
[[ "$$(./test.bin)" == "test OK" ]] && \

0 commit comments

Comments
 (0)