needs: []
script:
- $ErrorActionPreference = "Stop"
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- $PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress --params "/InstallDir:C:\Python3" python3
- job: portable-source
artifacts: true
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress msys2
- $Env:build_system = "autotools"
- - Add-MpPreference -ExclusionPath 'C:\tools\msys64'
- C:\tools\msys64\usr\bin\env MSYSTEM=MINGW32 C:\tools\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-configure.sh'
cache:
key: windows-mingw32-build-step1-configure
- job: windows-mingw32-build-step1-configure
artifacts: true
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress msys2
- $Env:build_system = "autotools"
- $Env:use_autogen = "yes"
- - Add-MpPreference -ExclusionPath 'C:\tools\msys64'
- C:\tools\msys64\usr\bin\env MSYSTEM=MINGW32 C:\tools\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-make.sh'
cache:
key: windows-mingw32-build-step2-make
- job: portable-source
artifacts: true
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress msys2
- $Env:build_system = "autotools"
- - Add-MpPreference -ExclusionPath 'C:\tools\msys64'
- C:\tools\msys64\usr\bin\env MSYSTEM=MINGW64 C:\tools\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-configure.sh'
cache:
key: windows-mingw64-build-step1-configure
- job: windows-mingw64-build-step1-configure
artifacts: true
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress msys2
- $Env:build_system = "autotools"
- $Env:use_autogen = "yes"
- - Add-MpPreference -ExclusionPath 'C:\tools\msys64'
- C:\tools\msys64\usr\bin\env MSYSTEM=MINGW64 C:\tools\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-make.sh'
cache:
key: windows-mingw64-build-step2-make
- job: portable-source
artifacts: true
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress cygwin
- $Env:build_system = "autotools"
stage: build
needs: []
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress cygwin
- choco install --yes --no-progress --params "/InstallDir:C:\Python3" python3
stage: build
needs: []
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress msys2
- $Env:build_system = "cmake"
# fail on any compiler warnings
- $Env:CFLAGS = "-Werror"
- $Env:CXXFLAGS = "-Werror"
- - Add-MpPreference -ExclusionPath 'C:\tools\msys64'
- C:\tools\msys64\usr\bin\env MSYSTEM=MINGW32 C:\tools\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-build.sh'
artifacts:
when: always
stage: build
needs: []
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress msys2
- $Env:build_system = "cmake"
# fail on any compiler warnings
- $Env:CFLAGS = "-Werror"
- $Env:CXXFLAGS = "-Werror"
- - Add-MpPreference -ExclusionPath 'C:\tools\msys64'
- C:\tools\msys64\usr\bin\env MSYSTEM=MINGW64 C:\tools\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-build.sh'
artifacts:
when: always
stage: build
needs: []
script:
+ # disable Windows Defender
+ - Add-MpPreference -ExclusionPath 'C:\'
- choco config set cacheLocation choco-cache
- choco install --yes --no-progress cygwin
- $Env:build_system = "cmake"