Skip to content

Commit 27f2d75

Browse files
HanSur94claude
andcommitted
fix: update CI workflows to use install() instead of removed setup()
The setup() function was renamed to install() but CI workflows still referenced the old name, breaking MEX builds across all pipelines. Also set failIfEmpty: false for wiki link check since wiki files use [[Page]] syntax that lychee cannot parse. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c423efd commit 27f2d75

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Compile MEX files
3232
if: steps.cache-mex.outputs.cache-hit != 'true'
33-
run: octave --eval "setup();"
33+
run: octave --eval "install();"
3434

3535
- name: Upload MEX artifacts
3636
uses: actions/upload-artifact@v4
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Run benchmark
6161
run: |
62-
xvfb-run octave --eval "addpath(pwd); setup(); addpath('scripts'); run_ci_benchmark();"
62+
xvfb-run octave --eval "addpath(pwd); install(); addpath('scripts'); run_ci_benchmark();"
6363
6464
- name: Fix git ownership
6565
run: git config --global --add safe.directory /__w/FastSense/FastSense

.github/workflows/examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Compile MEX files
2828
if: steps.cache-mex.outputs.cache-hit != 'true'
29-
run: octave --eval "setup();"
29+
run: octave --eval "install();"
3030

3131
- name: Upload MEX artifacts
3232
uses: actions/upload-artifact@v4
@@ -56,7 +56,7 @@ jobs:
5656
- name: Run example smoke tests
5757
run: |
5858
xvfb-run octave --eval "
59-
addpath(pwd); setup();
59+
addpath(pwd); install();
6060
examples = {
6161
'example_basic',
6262
'example_multi',

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Compile MEX files
5050
if: steps.cache-mex.outputs.cache-hit != 'true'
51-
run: octave --eval "setup();"
51+
run: octave --eval "install();"
5252

5353
- name: Upload MEX artifacts
5454
uses: actions/upload-artifact@v4
@@ -115,7 +115,7 @@ jobs:
115115
run: brew install octave
116116

117117
- name: Compile MEX files
118-
run: octave --eval "setup(); fprintf('All MEX files compiled successfully on %s\n', computer());"
118+
run: octave --eval "install(); fprintf('All MEX files compiled successfully on %s\n', computer());"
119119

120120
matlab:
121121
name: MATLAB Tests

.github/workflows/wiki-links.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
--suggest
3030
wiki/*.md
3131
fail: true
32+
failIfEmpty: false

0 commit comments

Comments
 (0)