Skip to content

CI=true breaks native module packaging on MacOS #9258

@ilya-lopukhin

Description

@ilya-lopukhin

I couldn't really isolate the problem, but having CI=true in the environment variables produced a packaged folder mac-universal--x64 and mac-universal--arm64 with the SAME arm64 better-sqlite3 binary in both app.asar.unpacked locations, so in the universal package it merges them into a single arm64 binary.

Whenever I build it outside of CI environment or explicitly set CI=false on my Jenkins file the packages contain correct x64 and arm64 binaries and get merged into a single universal binary.

I'm using version 23.6.0. Will try to confirm this in the latest version once I figure out the breaking changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions