Skip to content

Commit dba08b4

Browse files
committed
FIX: regression: failed boot of BASE build versions. Added tests to the Github workflow.
resolves: Oldes/Rebol-issues#2526
1 parent 67c3c23 commit dba08b4

File tree

2 files changed

+48
-8
lines changed

2 files changed

+48
-8
lines changed

.github/workflows/build-all.yml

+46-8
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,37 @@ jobs:
2525
run: |
2626
./siskin.exe make/rebol3.nest --msvc %rebol3-base-windows-x64
2727
MOVE ./msvc/Release-x64/rebol3-base-windows-x64.exe ./
28+
./rebol3-base-windows-x64.exe -v
2829
2930
- name: Build 64bit Rebol/Core using MSVC
3031
run: |
3132
./siskin.exe make/rebol3.nest --msvc %rebol3-core-windows-x64
3233
MOVE ./msvc/Release-x64/rebol3-core-windows-x64.exe ./
34+
./rebol3-core-windows-x64.exe -v
3335
3436
- name: Build 64bit Rebol/Bulk using MSVC
3537
run: |
3638
./siskin.exe make/rebol3.nest --msvc %rebol3-bulk-windows-x64
3739
MOVE ./msvc/Release-x64/rebol3-bulk-windows-x64.exe ./
40+
./rebol3-bulk-windows-x64.exe -v
3841
3942
- name: Build 32bit Rebol/Base using MSVC
4043
run: |
4144
./siskin.exe make/rebol3.nest --msvc %rebol3-base-windows-x86
4245
MOVE ./msvc/Release-Win32/rebol3-base-windows-x86.exe ./
46+
./rebol3-base-windows-x86.exe -v
4347
4448
- name: Build 32bit Rebol/Core using MSVC
4549
run: |
4650
./siskin.exe make/rebol3.nest --msvc %rebol3-core-windows-x86
4751
MOVE ./msvc/Release-Win32/rebol3-core-windows-x86.exe ./
52+
./rebol3-core-windows-x86.exe -v
4853
4954
- name: Build 32bit Rebol/Bulk using MSVC
5055
run: |
5156
./siskin.exe make/rebol3.nest --msvc %rebol3-bulk-windows-x86
5257
MOVE ./msvc/Release-Win32/rebol3-bulk-windows-x86.exe ./
58+
./rebol3-bulk-windows-x86.exe -v
5359
5460
###############################################################################
5561
# Building Rebol as a shared library...
@@ -151,6 +157,33 @@ jobs:
151157
# - name: Build 64bit Rebol/Bulk using clang
152158
# run: ./siskin make/rebol3.nest %rebol3-bulk-x64-libc-clang
153159

160+
- name: Test all linux versions
161+
run: |
162+
./build/rebol3-base-linux-x86 -v
163+
./build/rebol3-core-linux-x86 -v
164+
./build/rebol3-bulk-linux-x86 -v
165+
./build/rebol3-base-linux-x64 -v
166+
./build/rebol3-core-linux-x64 -v
167+
./build/rebol3-bulk-linux-x64 -v
168+
169+
- name: Prepare 32bit Rebol/Base for upload
170+
run: |
171+
mv ./build/rebol3-base-linux-x86 ./
172+
gzip -9 ./rebol3-base-linux-x86
173+
- name: Prepare 32bit Rebol/Core for upload
174+
run: |
175+
mv ./build/rebol3-core-linux-x86 ./
176+
gzip -9 ./rebol3-core-linux-x86
177+
- name: Prepare 32bit Rebol/Bulk for upload
178+
run: |
179+
mv ./build/rebol3-bulk-linux-x64 ./
180+
gzip -9 ./rebol3-bulk-linux-x86
181+
182+
- uses: actions/upload-artifact@v2
183+
with:
184+
name: Rebol-32bit-Linux-${{github.run_id}}
185+
path: ./rebol3-*-x86.gz
186+
154187
- name: Prepare 64bit Rebol/Base for upload
155188
run: |
156189
mv ./build/rebol3-base-linux-x64 ./rebol3-base-linux-x64
@@ -167,7 +200,7 @@ jobs:
167200
- uses: actions/upload-artifact@v2
168201
with:
169202
name: Rebol-64bit-Linux-${{github.run_id}}
170-
path: ./rebol3-*.gz
203+
path: ./rebol3-*-x64.gz
171204

172205
# musl versions...
173206
##################
@@ -273,31 +306,36 @@ jobs:
273306
/usr/bin/codesign --force -s $MACOS_IDENTITY_ID ./build/rebol3-core-macos-arm64 -v
274307
/usr/bin/codesign --force -s $MACOS_IDENTITY_ID ./build/rebol3-bulk-macos-arm64 -v
275308
276-
309+
- name: Test x64 macOS versions
310+
run: |
311+
./build/rebol3-base-macos-x64 -v
312+
./build/rebol3-core-macos-x64 -v
313+
./build/rebol3-bulk-macos-x64 -v
314+
277315
- name: Prepare 64bit Rebol/Base for upload
278316
run: |
279-
mv ./build/rebol3-base-macos-x64 ./rebol3-base-macos-x64
317+
mv ./build/rebol3-base-macos-x64 ./
280318
gzip -9 ./rebol3-base-macos-x64
281319
- name: Prepare 64bit Rebol/Core for upload
282320
run: |
283-
mv ./build/rebol3-core-macos-x64 ./rebol3-core-macos-x64
321+
mv ./build/rebol3-core-macos-x64 ./
284322
gzip -9 ./rebol3-core-macos-x64
285323
- name: Prepare 64bit Rebol/Bulk for upload
286324
run: |
287-
mv ./build/rebol3-bulk-macos-x64 ./rebol3-bulk-macos-x64
325+
mv ./build/rebol3-bulk-macos-x64 ./
288326
gzip -9 ./rebol3-bulk-macos-x64
289327
290328
- name: Prepare ARM64 Rebol/Base for upload
291329
run: |
292-
mv ./build/rebol3-base-macos-arm64 ./rebol3-base-macos-arm64
330+
mv ./build/rebol3-base-macos-arm64 ./
293331
gzip -9 ./rebol3-base-macos-arm64
294332
- name: Prepare ARM64 Rebol/Core for upload
295333
run: |
296-
mv ./build/rebol3-core-macos-arm64 ./rebol3-core-macos-arm64
334+
mv ./build/rebol3-core-macos-arm64 ./
297335
gzip -9 ./rebol3-core-macos-arm64
298336
- name: Prepare ARM64 Rebol/Bulk for upload
299337
run: |
300-
mv ./build/rebol3-bulk-macos-arm64 ./rebol3-bulk-macos-arm64
338+
mv ./build/rebol3-bulk-macos-arm64 ./
301339
gzip -9 ./rebol3-bulk-macos-arm64
302340
303341
# - name: Prepare 64bit Rebol/Core as a shared library for upload

src/core/c-word.c

+2
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@
217217
// If word symbol part of word table is full, expand it:
218218
if (SERIES_FULL(PG_Word_Table.series)) {
219219
Extend_Series(PG_Word_Table.series, 256);
220+
}
221+
if (SERIES_FULL(Bind_Table)) {
220222
// Bind_Table size must be same like PG_Word_Table.series, so we must extend it as well.
221223
Extend_Series(Bind_Table, 256);
222224
CLEAR_SERIES(Bind_Table);

0 commit comments

Comments
 (0)