Skip to content

Commit

Permalink
[GitHub Actions] Updated linux-armv7 binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed May 19, 2023
1 parent 33702bc commit 896e77c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion uws.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,25 @@
* limitations under the License.
*/

let process = require('node:process');
let guWS = undefined;

function pump() {
guWS.pump();
setImmediate(pump);
}

function setup(uWS) {
if (process.env.ALIEN_UWS) {
guWS = uWS;
setImmediate(pump);
}
return uWS;
}

module.exports = (() => {
try {
return require('./uws_' + process.platform + '_' + process.arch + '_' + process.versions.modules + '.node');
return setup(require('./uws_' + process.platform + '_' + process.arch + '_' + process.versions.modules + '.node'));
} catch (e) {
throw new Error('This version of uWS.js supports only Node.js LTS versions 16, 18 and 20 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).\n\n' + e.toString());
}
Expand Down
Binary file modified uws_linux_arm_108.node
Binary file not shown.
Binary file modified uws_linux_arm_115.node
Binary file not shown.
Binary file modified uws_linux_arm_93.node
Binary file not shown.

0 comments on commit 896e77c

Please sign in to comment.