File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 timeout-minutes : 60
2121 steps :
2222 - uses : actions/checkout@v7
23- with :
24- persist-credentials : false
2523 - run : docker build --pull -f tests/e2e/Dockerfile -t vfox-flutter-e2e .
2624 - run : docker run --rm -e VFOX_VERSION=latest vfox-flutter-e2e
2725 - run : docker run --rm -e VFOX_VERSION=main vfox-flutter-e2e
3331 timeout-minutes : 90
3432 steps :
3533 - uses : actions/checkout@v7
36- with :
37- persist-credentials : false
3834 - run : docker build --pull -f tests/e2e/Dockerfile.windows -t vfox-flutter-e2e .
3935 - run : docker run --rm -e VFOX_VERSION=latest vfox-flutter-e2e
4036 - run : docker run --rm -e VFOX_VERSION=main vfox-flutter-e2e
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ containerized end-to-end suite exercises the plugin against real vfox (`latest`
66
77## Running on Ubuntu 26.04
88
9- Assume that the rootful Docker Engine is already installed.
9+ Assume that Git and Docker Engine (in either rootful or rootless mode) are already installed.
1010
1111Execute in Bash,
1212
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ $PSNativeCommandUseErrorActionPreference = $true
44$VfoxVersion = if ($env: VFOX_VERSION ) { $env: VFOX_VERSION } else { ' latest' }
55
66$RepoRoot = (Resolve-Path " $PSScriptRoot \..\.." ).Path
7- $WorkDir = " $env: TEMP \ vfox-flutter-e2e"
7+ $WorkDir = " $env: TEMP / vfox-flutter-e2e"
88New-Item - ItemType Directory - Force - Path $WorkDir | Out-Null
99$VfoxExe = " $WorkDir \vfox.exe"
1010$PluginZip = " $WorkDir \flutter.zip"
@@ -24,11 +24,9 @@ function Install-VfoxMain {
2424 & curl.exe - fsSL - o $goMsi ' https://go.dev/dl/go1.27.1.windows-amd64.msi'
2525 Start-Process msiexec.exe - Wait - ArgumentList ' /i' , " `" $goMsi `" " , ' /quiet' , ' /norestart'
2626 Remove-Item $goMsi
27- $env: PATH = " $WorkDir ;" + [Environment ]::GetEnvironmentVariable(' Path' , ' Machine' )
2827 $src = " $WorkDir \vfox-src"
2928 git clone -- depth 1 https:// github.com / version- fox/ vfox $src
30- Push-Location $src
31- try { go build - trimpath - o $VfoxExe . } finally { Pop-Location }
29+ go build - C $src - trimpath - o $VfoxExe .
3230}
3331
3432if ($VfoxVersion -eq ' main' ) { Install-VfoxMain } else { Install-VfoxRelease }
You can’t perform that action at this time.
0 commit comments