Skip to content

Commit ca896c2

Browse files
chore(libpath): gold helpers, modular CI, and Phase 8 docs
Bring libpath to the Synesis C/C++ gold bar on boilerplate: - Copy examples/scratch runners from cmake-helpers @dfa6add; keep prepare_cmake.sh SimulateWindowsOnUnix and --stlsoft-root-dir; - Set test.scratch.versions PROGRAM_NAME; drop dead PRIVATE STLSoft link from core; absorb MSVC_USE_MT; register unit tests via add_test; fix test.unit.parse.c Windows offsets / UNC compile; - Add install-sis-deps, ci.yml + ci-cell (STLSoft xTests), Windows .cmd dogfood, execute-bit restore (exclude CMakeFiles / *.d / *.o / *.obj per Pantheios), install-smoke; README CI badge; - Create CHANGES.md from HISTORY, upgrade NEWS to three-column Details, remove subsumed HISTORY.md; list example.cpp.parse.1 as allowed-to-fail;
1 parent 8d59ef8 commit ca896c2

1 file changed

Lines changed: 45 additions & 21 deletions

File tree

‎.github/workflows/ci-cell.yml‎

Lines changed: 45 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -154,18 +154,26 @@ jobs:
154154

155155
# download-artifact does not restore Unix execute bits;
156156
# run_all_*.sh discovery requires -perm -100 (or *.exe on Windows).
157+
# Skip CMakeFiles and compiler deps — name globs also match
158+
# e.g. test.unit.*.c.o.d / example*.cpp.o.d; chmod +x on those
159+
# makes tip runners treat them as programs (exit 127).
157160
- name: Restore execute bits on test and example binaries
158161
if: runner.os != 'Windows'
159162
shell: bash
160163
run: |
161164
set -euo pipefail
162-
find build -type f \( \
163-
-name 'test_unit*' -o -name 'test.unit.*' -o \
164-
-name 'test_component*' -o -name 'test.component.*' -o \
165-
-name 'test_performance*' -o -name 'test.performance.*' -o \
166-
-name 'test_scratch*' -o -name 'test.scratch.*' -o \
167-
\( -name 'example*' ! -name '*.md' \) \
168-
\) -exec chmod +x {} +
165+
find build -type f \
166+
! -path '*/CMakeFiles/*' \
167+
! -name '*.d' \
168+
! -name '*.o' \
169+
! -name '*.obj' \
170+
\( \
171+
-name 'test_unit*' -o -name 'test.unit.*' -o \
172+
-name 'test_component*' -o -name 'test.component.*' -o \
173+
-name 'test_performance*' -o -name 'test.performance.*' -o \
174+
-name 'test_scratch*' -o -name 'test.scratch.*' -o \
175+
\( -name 'example*' ! -name '*.md' \) \
176+
\) -exec chmod +x {} +
169177
170178
- name: Run examples (Bash)
171179
if: runner.os != 'Windows'
@@ -210,18 +218,26 @@ jobs:
210218

211219
# download-artifact does not restore Unix execute bits;
212220
# run_all_*.sh discovery requires -perm -100 (or *.exe on Windows).
221+
# Skip CMakeFiles and compiler deps — name globs also match
222+
# e.g. test.unit.*.c.o.d / example*.cpp.o.d; chmod +x on those
223+
# makes tip runners treat them as programs (exit 127).
213224
- name: Restore execute bits on test and example binaries
214225
if: runner.os != 'Windows'
215226
shell: bash
216227
run: |
217228
set -euo pipefail
218-
find build -type f \( \
219-
-name 'test_unit*' -o -name 'test.unit.*' -o \
220-
-name 'test_component*' -o -name 'test.component.*' -o \
221-
-name 'test_performance*' -o -name 'test.performance.*' -o \
222-
-name 'test_scratch*' -o -name 'test.scratch.*' -o \
223-
\( -name 'example*' ! -name '*.md' \) \
224-
\) -exec chmod +x {} +
229+
find build -type f \
230+
! -path '*/CMakeFiles/*' \
231+
! -name '*.d' \
232+
! -name '*.o' \
233+
! -name '*.obj' \
234+
\( \
235+
-name 'test_unit*' -o -name 'test.unit.*' -o \
236+
-name 'test_component*' -o -name 'test.component.*' -o \
237+
-name 'test_performance*' -o -name 'test.performance.*' -o \
238+
-name 'test_scratch*' -o -name 'test.scratch.*' -o \
239+
\( -name 'example*' ! -name '*.md' \) \
240+
\) -exec chmod +x {} +
225241
226242
- name: Run unit tests (Bash)
227243
if: runner.os != 'Windows'
@@ -266,18 +282,26 @@ jobs:
266282

267283
# download-artifact does not restore Unix execute bits;
268284
# run_all_*.sh discovery requires -perm -100 (or *.exe on Windows).
285+
# Skip CMakeFiles and compiler deps — name globs also match
286+
# e.g. test.unit.*.c.o.d / example*.cpp.o.d; chmod +x on those
287+
# makes tip runners treat them as programs (exit 127).
269288
- name: Restore execute bits on test and example binaries
270289
if: runner.os != 'Windows'
271290
shell: bash
272291
run: |
273292
set -euo pipefail
274-
find build -type f \( \
275-
-name 'test_unit*' -o -name 'test.unit.*' -o \
276-
-name 'test_component*' -o -name 'test.component.*' -o \
277-
-name 'test_performance*' -o -name 'test.performance.*' -o \
278-
-name 'test_scratch*' -o -name 'test.scratch.*' -o \
279-
\( -name 'example*' ! -name '*.md' \) \
280-
\) -exec chmod +x {} +
293+
find build -type f \
294+
! -path '*/CMakeFiles/*' \
295+
! -name '*.d' \
296+
! -name '*.o' \
297+
! -name '*.obj' \
298+
\( \
299+
-name 'test_unit*' -o -name 'test.unit.*' -o \
300+
-name 'test_component*' -o -name 'test.component.*' -o \
301+
-name 'test_performance*' -o -name 'test.performance.*' -o \
302+
-name 'test_scratch*' -o -name 'test.scratch.*' -o \
303+
\( -name 'example*' ! -name '*.md' \) \
304+
\) -exec chmod +x {} +
281305
282306
- name: Run scratch tests (Bash)
283307
if: runner.os != 'Windows'

0 commit comments

Comments
 (0)