fix(windows): Recreate windows files to make sure windows compiles
This commit is contained in:
parent
9806428c62
commit
bac6dceaaf
17 changed files with 195 additions and 93 deletions
|
|
@ -4,6 +4,12 @@ image:
|
|||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
|
||||
.shared_windows_runners:
|
||||
tags:
|
||||
- shared-windows
|
||||
- windows
|
||||
- windows-1809
|
||||
|
||||
stages:
|
||||
- coverage
|
||||
- publish
|
||||
|
|
@ -44,6 +50,28 @@ build_web:
|
|||
paths:
|
||||
- build/web/
|
||||
|
||||
build_windows:
|
||||
extends:
|
||||
- .shared_windows_runners
|
||||
stage: publish
|
||||
script:
|
||||
# Install chocolately
|
||||
- Set-ExecutionPolicy Bypass -Scope Process
|
||||
- Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
- choco install git -y
|
||||
- choco install visualstudio2019community -y --package-parameters "--add Microsoft.VisualStudio.Product.BuildTools --includeRecommended --includeOptional --passive --locale en-US"
|
||||
- cd ..; git clone https://github.com/flutter/flutter.git -b dev; $env:path += ";C:\GitLab-Runner\builds\ChristianPauly\flutter\bin"; cd fluffychat-flutter
|
||||
- flutter doctor
|
||||
- flutter config --enable-windows-desktop
|
||||
- flutter build windows
|
||||
needs: []
|
||||
artifacts:
|
||||
paths:
|
||||
- build/windows/runner/Release/
|
||||
name: "Binairies"
|
||||
only:
|
||||
- main
|
||||
- tags
|
||||
|
||||
build_android_debug:
|
||||
stage: coverage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue