mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 04:19:50 +00:00
* CI update - use existing build outputs in build_monero_all.sh - update $HOME, fix gh actions - add secrets earlier in the runtime (potentially speed up 'Build generated code' step) - add windows dockerfile - add linux/android dockerfile - update android/linux ci script * [skip slack] [run tests] Run tests on CI, fix tests * [skip slack] [run tests] force enable kvm in android * [skip slack] [run tests] remove inexisting flag * [run tests] [skip slack] update tests * add extra dependencies [skip ci] * [skip slack] [run tests] Add secrets * [skip slack] [run tests] Timeout test cases, continue on error * [skip slack] [run tests] Xvfb fix, timeout fix * [skip slack] [run tests] Start dbus to clean up the logs, use SIGKILL * [skip slack] [run tests] Enable network manager * [skip slack] [run tests] Screen record test, resize screen * [skip slack] [run tests] Improve status report for tests * [skip slack] [run tests] Increase framerate * [skip slack] [run tests] Remove test that I am unable to fix locally easily from CI * [skip slack] [run tests] Simplify ffmpeg command * [skip slack] [run tests] Increase timeout, add comment * [skip slack] Update dockerfile, migrate from mrcyjanek to cake-tech for the ghcr org * Update lib/entities/default_settings_migration.dart Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com> --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
30 lines
No EOL
902 B
PowerShell
30 lines
No EOL
902 B
PowerShell
# Variables for paths and config
|
|
$runnerDir = "C:\actions-runner"
|
|
$configCmd = "$runnerDir\config.cmd"
|
|
$runCmd = "$runnerDir\run.cmd"
|
|
|
|
# Check required environment variables
|
|
if (-not $env:RUNNER_TOKEN) {
|
|
Write-Error "RUNNER_TOKEN is not set. Exiting."
|
|
exit 1
|
|
}
|
|
if (-not $env:RUNNER_REPO_URL) {
|
|
Write-Error "RUNNER_REPO_URL is not set. Exiting."
|
|
exit 1
|
|
}
|
|
$env:RUNNER_NAME = "windows-amd64-cake"
|
|
$env:RUNNER_WORKDIR = "_work"
|
|
|
|
# Register the runner
|
|
Write-Host "Registering the runner..."
|
|
Write-Host "--url $env:RUNNER_REPO_URL"
|
|
Write-Host "--token $env:RUNNER_TOKEN"
|
|
Write-Host "--name $env:RUNNER_NAME"
|
|
Write-Host "--work $env:RUNNER_WORKDIR"
|
|
|
|
& $configCmd --url $env:RUNNER_REPO_URL `
|
|
--token $env:RUNNER_TOKEN `
|
|
--name $env:RUNNER_NAME `
|
|
--work $env:RUNNER_WORKDIR `
|
|
--unattended `
|
|
--replace |