-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
chore: organize per-browser dependencies #5787
Conversation
0c95fda
to
23d684c
Compare
src/install/installDeps.ts
Outdated
...deps.webkit | ||
].join(' ')); | ||
|
||
// - `ffmpeg`: For video playback in Firefox |
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.
let's maybe have a single apt-get install call?
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.
Sure, I can try doing this. I hope --no-install-recommends won't break things for ffmpeg.
57df900
to
39ce253
Compare
.action(async function(browserType) { | ||
try { | ||
await installDeps(browserType); | ||
} catch (e) { | ||
console.log(`Failed to install browsers\n${e}`); |
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'll fix the message
- run: npm ci | ||
- run: npm run build | ||
- run: node lib/cli/cli install-deps ${{ matrix.browser }} chromium |
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.
remove chromium
- run: npm ci | ||
- run: npm run build | ||
- run: node lib/cli/cli install-deps ${{ matrix.browser }} chromium |
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.
ditto
- run: npm ci | ||
- run: npm run build | ||
- run: node lib/cli/cli install-deps ${{ matrix.browser }} chromium |
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.
ditto
@@ -297,16 +297,16 @@ const LIBRARY_TO_PACKAGE_NAME_UBUNTU_18_04: { [s: string]: string} = { | |||
'libglib-2.0.so.0': 'libglib2.0-0', | |||
'libgmodule-2.0.so.0': 'libglib2.0-0', | |||
'libgobject-2.0.so.0': 'libglib2.0-0', | |||
'libgstapp-1.0.so.0': 'libgstreamer-plugins-base1.0-0', | |||
'libgstaudio-1.0.so.0': 'libgstreamer-plugins-base1.0-0', | |||
'libgstapp-1.0.so.0': 'gstreamer1.0-plugins-base', |
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.
See the comment above:
// This list is generted with the following program:
// ./utils/linux-browser-dependencies/run.sh ubuntu:18.04
should this part of mapping go there?
39ce253
to
a88d2dc
Compare
No description provided.