Skip to content

Commit

Permalink
Test GHA test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
animetosho committed Dec 12, 2024
1 parent 2b688a8 commit f08027c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-dev-win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
# diagnose weird execution failure
- run: |
(Get-Content -Path "node_modules/nexe/lib/compiler.js" -Raw) -replace 'child_process_1.spawn', 'this.log.step(''Executing ''+command+'' ''+args);child_process_1.spawn' | Set-Content -Path "node_modules/nexe/lib/compiler.js"
(Get-Content -Path "node_modules/nexe/lib/compiler.js" -Raw) -replace 'cwd: this.src,', 'shell: true, cwd: this.src,' | Set-Content -Path "node_modules/nexe/lib/compiler.js"
working-directory: nexe
- run: node build
working-directory: nexe
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
- run: npm install --production --ignore-scripts
- run: npm install --production
working-directory: nexe
# workaround issue https://github.com/nodejs/node/issues/52681#issuecomment-2076426887
- run: |
(Get-Content -Path "node_modules/nexe/lib/compiler.js" -Raw) -replace 'cwd: this.src,', 'shell: true, cwd: this.src,' | Set-Content -Path "node_modules/nexe/lib/compiler.js"
working-directory: nexe
- run: node build
working-directory: nexe
- run: nexe\parpar.exe --version
Expand Down
2 changes: 1 addition & 1 deletion test/par-compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function par2_args(o) {
return a.concat([o.out], o.in);
}
function parpar_args(o) {
var a = verbose ? [] : ['-q'];
var a = verbose ? ['--json'] : ['-q'];
// TODO: tests for multi file generation
if(o.blockSize) a.push('--input-slices='+o.blockSize+'b');
if(o.inBlocks) a.push('--input-slices='+o.inBlocks);
Expand Down

0 comments on commit f08027c

Please sign in to comment.