|
|
|
@ -8,7 +8,7 @@ clone:
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: clone
|
|
|
|
|
image: cirrusci/flutter:3.3.8
|
|
|
|
|
image: cirrusci/flutter:3.7.1
|
|
|
|
|
environment:
|
|
|
|
|
buildbot_key_b64:
|
|
|
|
|
from_secret: buildbot_key_b64
|
|
|
|
@ -24,7 +24,7 @@ steps:
|
|
|
|
|
- git checkout $DRONE_COMMIT
|
|
|
|
|
|
|
|
|
|
- name: fetch
|
|
|
|
|
image: cirrusci/flutter:3.3.8
|
|
|
|
|
image: cirrusci/flutter:3.7.1
|
|
|
|
|
volumes:
|
|
|
|
|
- name: deps
|
|
|
|
|
path: /root/.pub-cache
|
|
|
|
@ -47,7 +47,7 @@ steps:
|
|
|
|
|
# #Todo: fix all the lint errors and add `-set_exit_status` above to enforce linting
|
|
|
|
|
|
|
|
|
|
- name: build-linux
|
|
|
|
|
image: openpriv/flutter-desktop:linux-fstable-3.3.9
|
|
|
|
|
image: openpriv/flutter-desktop:linux-fstable-3.7.1
|
|
|
|
|
volumes:
|
|
|
|
|
- name: deps
|
|
|
|
|
path: /root/.pub-cache
|
|
|
|
@ -61,7 +61,7 @@ steps:
|
|
|
|
|
- rm -r cwtch
|
|
|
|
|
|
|
|
|
|
- name: linux-ui-tests
|
|
|
|
|
image: openpriv/flutter-desktop:linux-fstable-3.3.9
|
|
|
|
|
image: openpriv/flutter-desktop:linux-fstable-3.7.1
|
|
|
|
|
volumes:
|
|
|
|
|
- name: deps
|
|
|
|
|
path: /root/.pub-cache
|
|
|
|
@ -70,10 +70,10 @@ steps:
|
|
|
|
|
- sudo apt update
|
|
|
|
|
- sudo apt-get install -y xvfb
|
|
|
|
|
- ./fetch-tor.sh
|
|
|
|
|
- ./run-tests-headless.sh 02_save_load
|
|
|
|
|
- ./run-tests-headless.sh 01_general
|
|
|
|
|
|
|
|
|
|
- name: test-build-android
|
|
|
|
|
image: cirrusci/flutter:3.3.8
|
|
|
|
|
image: cirrusci/flutter:3.7.1
|
|
|
|
|
when:
|
|
|
|
|
event: pull_request
|
|
|
|
|
volumes:
|
|
|
|
@ -83,7 +83,7 @@ steps:
|
|
|
|
|
- flutter build apk --debug
|
|
|
|
|
|
|
|
|
|
- name: build-android
|
|
|
|
|
image: cirrusci/flutter:3.3.8
|
|
|
|
|
image: cirrusci/flutter:3.7.1
|
|
|
|
|
when:
|
|
|
|
|
event: push
|
|
|
|
|
environment:
|
|
|
|
@ -107,7 +107,7 @@ steps:
|
|
|
|
|
#- cp build/app/outputs/flutter-apk/app-debug.apk deploy/android
|
|
|
|
|
|
|
|
|
|
- name: widget-tests
|
|
|
|
|
image: cirrusci/flutter:3.3.8
|
|
|
|
|
image: cirrusci/flutter:3.7.1
|
|
|
|
|
volumes:
|
|
|
|
|
- name: deps
|
|
|
|
|
path: /root/.pub-cache
|
|
|
|
@ -189,7 +189,7 @@ clone:
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: clone
|
|
|
|
|
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.3.8
|
|
|
|
|
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.7.1
|
|
|
|
|
environment:
|
|
|
|
|
buildbot_key_b64:
|
|
|
|
|
from_secret: buildbot_key_b64
|
|
|
|
@ -207,7 +207,7 @@ steps:
|
|
|
|
|
- git checkout $Env:DRONE_COMMIT
|
|
|
|
|
|
|
|
|
|
- name: fetch
|
|
|
|
|
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.3.8
|
|
|
|
|
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.7.1
|
|
|
|
|
commands:
|
|
|
|
|
- git describe --tags --abbrev=1 > VERSION
|
|
|
|
|
- powershell -command "Get-Date -Format 'yyyy-MM-dd-HH-mm'" > BUILDDATE
|
|
|
|
@ -215,7 +215,7 @@ steps:
|
|
|
|
|
- .\fetch-libcwtch-go.ps1
|
|
|
|
|
|
|
|
|
|
- name: build-windows
|
|
|
|
|
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.3.8
|
|
|
|
|
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.7.1
|
|
|
|
|
commands:
|
|
|
|
|
- flutter pub get
|
|
|
|
|
- $Env:version += type .\VERSION
|
|
|
|
@ -274,7 +274,7 @@ steps:
|
|
|
|
|
- move *.sha512 deploy\$Env:builddir
|
|
|
|
|
|
|
|
|
|
- name: deploy-windows
|
|
|
|
|
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.3.8
|
|
|
|
|
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.7.1
|
|
|
|
|
when:
|
|
|
|
|
event: push
|
|
|
|
|
status: [ success ]
|
|
|
|
|