[Flutter笔记]Flutter Windows编译服务搭建

1,082 阅读1分钟

Flutter APP编译环境配置

Flutter环境选择器配置

Flutter Windows编译环境配置

  • Visual Stuido 2019安装:visualstudio.microsoft.com/
    • C++ Desktop Development(必选)
    • Windows 10 SDK (10.0.177763.0)(必选)

GitLab Runner搭建

GitLab Runner安装

docs.gitlab.com/runner/inst…

Run service using Built-in System Account

TODO——配置其他环境繁琐

docs.microsoft.com/en-us/windo…

docs.microsoft.com/en-us/windo…

Run service using user account

  • GitLab Runner安装:.\gitlab-runner.exe install --user ENTER-YOUR-USERNAME --password ENTER-YOUR-PASSWORD
  • GitLab Runner启动:.\gitlab-runner.exe start
    • GitLab Runner中止:.\gitlab-runner.exe stop
    • GitLab Runner卸载:.\gitlab-runner.exe uninstall

GitLab Runner注册

docs.gitlab.com/runner/regi…

参考

github.com/winsw/winsw