-
Notifications
You must be signed in to change notification settings - Fork 0
fix(*): compile binaries for mac and linux #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Why did the yarn.lock file change so much even though the package.json is pretty much the same? |
sabjorn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- one suggestion and one question but merge whenever you want
I didn't update yarn lock in the previous PR |
.github/workflows/prebuild.yml
Outdated
| run: node install_ffmpeg_static.js | ||
|
|
||
| - name: Build for npm publish | ||
| run: FFMPEG_STATIC=1 npx node-gyp rebuild |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are builds platform specific? like if we build in the github action here, will the binary be able to be used on mac arm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaeljherrmann builds are platform specific, this is why I build for mac arm64 and linux64. For other environments installation fallback will rebuild package for current platform
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just didn't see any code specific to arm here but maybe I missed it
|
|
||
| on: | ||
| push: | ||
| branches: [main] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you remove the branch filter but keep push, doesn't this mean it will run on each push on each branch? do we want that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaeljherrmann ,
for regular pushes to branch it will just build binaries, which validates that change in PR valid
for merges to master it will release
Co-authored-by: Steeve Bjornson <stevenbjornson@gmail.com>
Use prebuild binaries for faster package installation