Skip to content

Commit 527a88e

Browse files
committed
test linux using different depends, have GitHub Action not fail on other build errors
1 parent 0ab4a57 commit 527a88e

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ on:
1212
jobs:
1313
build:
1414
runs-on: ${{ matrix.os }}
15+
continue-on-error: windows-latest
1516
strategy:
17+
fail-fast: false
1618
matrix:
1719
os: [macos-latest, ubuntu-latest, windows-latest]
1820
node-version: [12.x, 14.x]

installer.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function platformUnpacker(platformData = windowsPlatform) {
167167
.then(() => {
168168
const system = system_installer.packager();
169169
const toInstall = (system.packager == 'yum' || system.packager == 'dnf') ?
170-
'glibc.i686' : 'libc6-i386';
170+
'glibc.i686' : ['libc6-i386', 'libc6-udeb'];
171171
if (process.platform == 'linux')
172172
system_installer.installer(toInstall).then(() => {
173173
return resolve('linux');

lib/createSfx.mjs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,29 @@ function getPath(module, folder = pwd) {
4949
return find;
5050
};
5151

52+
/**
53+
let config = fs.createReadStream('configFile', {
54+
flags: 'r',
55+
encoding: "binary",
56+
});
57+
let archive = fs.createReadStream('archiveFile', {
58+
flags: 'r',
59+
encoding: "binary",
60+
});
61+
62+
let SfxDirectory = fs.createWriteStream('Sfx', {
63+
flags: 'w',
64+
encoding: "binary",
65+
});
66+
67+
config.pipe(SfxDirectory, {
68+
end: false
69+
});
70+
archive.pipe(SfxDirectory, {
71+
end: false
72+
});
73+
*/
74+
5275
/**
5376
* Creates self extracting archive, an Installation Package.
5477
*

0 commit comments

Comments
 (0)