Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit f4e9958

Browse files
committed
explicitly call codegen, make on windows tracks deps incorrectly ??
1 parent 0e7a69c commit f4e9958

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ jobs:
7171
- name: checkout
7272
uses: actions/checkout@v2
7373

74+
- name: codegen
75+
run: make do-codegen
76+
7477
- name: make lib file
7578
run: |
7679
make ${{ matrix.build.lib_file }}

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ jobs:
100100
- name: checkout
101101
uses: actions/checkout@v2
102102

103+
- name: codegen
104+
run: make do-codegen
105+
103106
- name: run tests
104107
run: ${{ matrix.build.run }}
105108

codegen/build.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@ lib-ruby-parser.h: merge-headers $(H_FILES) token_ids.h nodes.h messages.h
6262

6363
CLEAN += lib-ruby-parser.h
6464
update-depend: lib-ruby-parser.h
65+
66+
do-codegen: token_ids.h tests/messages_test.c tests/nodes_test.c nodes.h messages.h
67+
68+
.PHONY: do-codegen

0 commit comments

Comments
 (0)