Skip to content
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

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

pavelfeldman
Copy link
Member

No description provided.

.github/workflows/tests.yml Outdated Show resolved Hide resolved
src/install/installDeps.ts Outdated Show resolved Hide resolved
src/install/installDeps.ts Show resolved Hide resolved
src/install/installDeps.ts Outdated Show resolved Hide resolved
src/install/installDeps.ts Outdated Show resolved Hide resolved
.github/workflows/tests.yml Outdated Show resolved Hide resolved
...deps.webkit
].join(' '));

// - `ffmpeg`: For video playback in Firefox
Copy link
Member

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?

Copy link
Member Author

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.

@pavelfeldman pavelfeldman force-pushed the install_deps branch 2 times, most recently from 57df900 to 39ce253 Compare March 12, 2021 02:38
@pavelfeldman pavelfeldman changed the title chore: migrate from gha to explicit npx playwright install chore: organize per-browser dependencies Mar 12, 2021
.action(async function(browserType) {
try {
await installDeps(browserType);
} catch (e) {
console.log(`Failed to install browsers\n${e}`);
Copy link
Member Author

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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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',
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants