Debian Codegraph @

appveyor.yml

raw
1 environment:
2 matrix:
3 - TARGET: MINGW64
4 - TARGET: MINGW32
5 GAUCHE_INFO_URL: https://practical-scheme.net/gauche/releases
6 GAUCHE_INSTALLER_URL: https://prdownloads.sourceforge.net/gauche
7
8 for:
9 -
10 matrix:
11 only:
12 - TARGET: MINGW64
13 environment:
14 MSYSTEM: MINGW64
15 PATH: C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\bin;%PATH%
16 GAUCHE_INSTALLER_BIT: 64bit
17 GAUCHE_PATH: C:\Program Files\Gauche\bin
18 RESULT_ZIP: Gauche-x86_64.zip
19 RESULT_PATH: ..\Gauche-mingw-dist\Gauche-x86_64
20 -
21 matrix:
22 only:
23 - TARGET: MINGW32
24 environment:
25 MSYSTEM: MINGW32
26 PATH: C:\msys64\mingw32\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\bin;%PATH%
27 GAUCHE_INSTALLER_BIT: 32bit
28 GAUCHE_PATH: C:\Program Files (x86)\Gauche\bin
29 RESULT_ZIP: Gauche-i686.zip
30 RESULT_PATH: ..\Gauche-mingw-dist\Gauche-i686
31
32 install:
33 # - echo %TARGET%
34 # - echo %MSYSTEM%
35 # - echo %PATH%
36 - cd
37 - for /f "usebackq delims=" %%i in (`curl -f %GAUCHE_INFO_URL%/latest.txt 2^>nul`) do set GAUCHE_INSTALLER_VERSION=%%i
38 - echo %GAUCHE_INSTALLER_VERSION%
39 - set GAUCHE_INSTALLER=Gauche-mingw-%GAUCHE_INSTALLER_VERSION%-%GAUCHE_INSTALLER_BIT%.msi
40 - echo %GAUCHE_INSTALLER%
41 - curl -f -L --progress-bar -o %GAUCHE_INSTALLER% %GAUCHE_INSTALLER_URL%/%GAUCHE_INSTALLER%
42 - msiexec /i %GAUCHE_INSTALLER% /quiet /qn /norestart
43 - set PATH=%PATH%;%GAUCHE_PATH%
44 # - echo %PATH%
45 - gosh -V
46 - bash -lc "pacman -S --noconfirm msys/winpty"
47 - bash -lc "winpty --version"
48 - bash -lc "where openssl"
49 - bash -lc "openssl version"
50
51 build_script:
52 - bash -lc "pwd"
53 - bash -lc "echo $APPVEYOR_BUILD_FOLDER"
54 - bash -lc "gcc -v"
55 - bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./DIST gen"
56 - bash -lc "cd $APPVEYOR_BUILD_FOLDER && src/mingw-dist.sh"
57
58 after_build:
59 - 7z a %RESULT_ZIP% %RESULT_PATH%
60
61 test_script:
62 - bash -lc "cd $APPVEYOR_BUILD_FOLDER && make check"
63
64 artifacts:
65 - path: Gauche-*.zip
66 # - path: ext/tls/kick_openssl.sh
67 # - path: ext/tls/ssltest.log
68