-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
33 lines (27 loc) · 1.38 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
clone_depth: 1
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
image: Visual Studio 2019
environment:
matrix:
- MINGW_VERSION: mingw64
ARCH: x86_64
- MINGW_VERSION: mingw32
ARCH: i686
install:
# Update MSYS2 - https://www.msys2.org/docs/ci/#appveyor
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu" # Core update (in case any core packages are outdated)
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu" # Normal update
# Then run your code
- set CHERE_INVOKING='yes' # Preserve the current working directory
- set MSYSTEM='MINGW64' # Start a 64 bit Mingw environment
- cd C:\projects\scopy-mingw-build-deps
build_script:
- C:\msys64\usr\bin\bash init_staging.sh
- C:\msys64\usr\bin\bash build.sh
- echo "### Push artifacts ... "
- appveyor PushArtifact c:\projects\scopy-mingw-build-deps\scopy-%MINGW_VERSION%-build-deps-pacman.txt
- appveyor PushArtifact c:\projects\scopy-mingw-build-deps\scopy-%MINGW_VERSION%-build-deps.tar.xz
- appveyor PushArtifact c:\projects\scopy-mingw-build-deps\old-msys-build-deps-%MINGW_VERSION%.tar.xz
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))