forked from flutter/flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Configure Cirrus CI * Read file directly instead of shelling a command * Wait for all streams to finish * Add LTR `textDirection` Since `RenderFlex#_debugHasNecessaryDirections` requires it when `direction` is horizontal and there are multiple children.
- Loading branch information
Showing
5 changed files
with
64 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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,42 @@ | ||
container: | ||
image: cirrusci/flutter:base | ||
|
||
task: | ||
env: | ||
CIRRUS_WORKING_DIR: "/tmp/flutter sdk" | ||
PATH: "$CIRRUS_WORKING_DIR/bin:$CIRRUS_WORKING_DIR/bin/cache/dart-sdk/bin:$PATH" | ||
SHARD: "$CIRRUS_TASK_NAME" | ||
|
||
git_fetch_script: git fetch origin | ||
setup_script: | | ||
echo "SDK directory is: $PWD" | ||
./bin/flutter --version | ||
# disable analytics on the bots and download Flutter dependencies | ||
./bin/flutter config --no-analytics | ||
# run pub get in all the repo packages | ||
./bin/flutter update-packages | ||
matrix: | ||
- name: docs | ||
docs_script: ./dev/bots/docs.sh | ||
- name: analyze | ||
test_script: dart ./dev/bots/test.dart | ||
- name: tests | ||
test_script: dart ./dev/bots/test.dart | ||
container: | ||
cpu: 4 | ||
memory: 8G | ||
|
||
windows_task: | ||
windows_container: | ||
dockerfile: dev/bots/docker/Dockerfile.windows | ||
env: | ||
CIRRUS_WORKING_DIR: "C:\\Windows\\Temp\\flutter sdk" | ||
git_fetch_script: git fetch origin | ||
setup_script: | ||
- bin\flutter.bat config --no-analytics | ||
- bin\flutter.bat update-packages | ||
test_all_script: | ||
- bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart |
This file contains 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
This file contains 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,13 @@ | ||
FROM microsoft/windowsservercore:1709 | ||
|
||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | ||
|
||
RUN netsh interface ipv4 set subinterface 'vEthernet (Ethernet)' mtu=1460 store=persistent | ||
|
||
RUN Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | ||
|
||
RUN choco install -y git | ||
|
||
SHELL ["cmd", "/S", "/C"] | ||
|
||
RUN setx /m PATH "%PATH%;C:\nodejs" |
This file contains 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
This file contains 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