This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Add support for running Linux desktop tests on CI #2717
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bda22dd
Add FDE url_launcher, to have something to test the CI against
stuartmorgan-g e737ec5
Disable SMS test so that Linux won't fail
stuartmorgan-g c94a9e8
Add a task to run Linux tests. (Excepted to fail without Dockerfile c…
stuartmorgan-g d9a8035
First pass at installing requriments
stuartmorgan-g f654bbb
Add rsync for asset copying
stuartmorgan-g df9976e
Revert "Disable SMS test so that Linux won't fail"
stuartmorgan-g ce7d7ac
Revert "Add FDE url_launcher, to have something to test the CI against"
stuartmorgan-g b37ed36
Remove unnecessary flag
stuartmorgan-g 10fd13f
Merge branch 'master' into linux-ci
stuartmorgan-g 19bcd44
Merge branch 'master' into linux-ci
stuartmorgan-g daee586
Add TODO
stuartmorgan-g 7105d7f
Alternate approach: use a different Dockerfile for Linux desktop
stuartmorgan-g File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| FROM cirrusci/flutter:stable | ||
|
|
||
| RUN sudo apt-get update -y | ||
|
|
||
| RUN sudo apt-get install -y --no-install-recommends gnupg | ||
|
|
||
| # Add repo for gcloud sdk and install it | ||
| RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \ | ||
| sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list | ||
|
|
||
| RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \ | ||
| sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - | ||
|
|
||
| RUN sudo apt-get update && sudo apt-get install -y google-cloud-sdk && \ | ||
| gcloud config set core/disable_usage_reporting true && \ | ||
| gcloud config set component_manager/disable_update_check true | ||
|
|
||
| # Install Linux desktop requirements. | ||
| RUN sudo apt-get install -y clang make cmake ninja-build rsync pkg-config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Should we run the tests on stable, too?
Or it is in the future plan, can we add a TODO here?
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.
Like web, stable isn't supported for Linux. I'll add a TODO.