Skip to content

Commit f7ce62c

Browse files
committed
Add hello
1 parent 354e790 commit f7ce62c

File tree

4 files changed

+12
-34
lines changed

4 files changed

+12
-34
lines changed

.github/workflows/macos.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,7 @@ jobs:
105105

106106
- run: make
107107

108-
- run: |
109-
make golf
110-
case "${{ matrix.configure }}" in
111-
*'--enable-shared'*)
112-
make runnable
113-
./bin/goruby -veh
114-
;;
115-
*)
116-
./goruby -veh
117-
;;
118-
esac
108+
- run: make hello
119109

120110
- name: Set test options for skipped tests
121111
run: |

.github/workflows/modgc.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,7 @@ jobs:
131131
make install-modular-gc MODULAR_GC=${{ matrix.gc.name }} MMTK_BUILD=${{ matrix.gc.mmtk_build }}
132132
make distclean-modular-gc MODULAR_GC=${{ matrix.gc.name }}
133133
134-
- run: |
135-
$SETARCH make golf
136-
case "${{ matrix.configure }}" in
137-
*'--enable-shared'*)
138-
$SETARCH make runnable
139-
./bin/goruby -veh
140-
;;
141-
*)
142-
./goruby -veh
143-
;;
144-
esac
134+
- run: $SETARCH make hello
145135

146136
- name: Set test options for skipped tests
147137
run: |

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,7 @@ jobs:
9696

9797
- run: $SETARCH make
9898

99-
- run: |
100-
$SETARCH make golf
101-
case "${{ matrix.configure }}" in
102-
*'--enable-shared'*)
103-
$SETARCH make runnable
104-
./bin/goruby -veh
105-
;;
106-
*)
107-
./goruby -veh
108-
;;
109-
esac
99+
- run: $SETARCH make hello
110100

111101
- name: Set test options for skipped tests
112102
run: |

common.mk

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,10 +1019,18 @@ no-test-spec:
10191019
check: $(DOT_WAIT) test-spec
10201020

10211021
RUNNABLE = $(LIBRUBY_RELATIVE:no=un)-runnable
1022-
runnable: $(RUNNABLE) prog $(tooldir)/mkrunnable.rb PHONY
1022+
runnable: $(RUNNABLE)
1023+
runnable-golf: golf
1024+
runnable $(enable_shared:yes=runnable-golf): prog $(tooldir)/mkrunnable.rb PHONY
10231025
$(Q) $(MINIRUBY) $(tooldir)/mkrunnable.rb -v $(EXTOUT)
10241026
yes-runnable: PHONY
10251027

1028+
hello: $(TEST_RUNNABLE)-hello
1029+
yes-hello: runnable-golf
1030+
./$(enable_shared:yes=bin/)goruby -veh
1031+
no-hello: runnable-golf
1032+
$(ECHO) Run ./$(enable_shared:yes=bin/)goruby -veh
1033+
10261034
encs: enc trans
10271035
libencs: libenc libtrans
10281036
encs enc trans libencs libenc libtrans: $(SHOWFLAGS) $(ENC_MK) $(LIBRUBY) $(PREP) PHONY

0 commit comments

Comments
 (0)