-
Notifications
You must be signed in to change notification settings - Fork 33
/
appveyor.yml
38 lines (26 loc) · 995 Bytes
/
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
34
35
36
37
38
version: 1.37.0-{build}
skip_tags: true
install:
- ps: >-
$gitData = ConvertFrom-StringData (git log -1 --format=format:"commitId=%H%nmessage=%s%ncommitted=%aD" | out-string)
if ($gitData['message'] -eq "") { $gitData['message'] = "No commit message available for $($gitData['commitid'])" }
# View the data with Write-Output @gitData
Update-AppveyorBuild @gitData
build_script:
- cmd: >-
C:\msys64\usr\bin\pacman -S --noconfirm --needed --ask=20 base-devel git unzip zip tar
set MSYSTEM=MINGW64
C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./build-aria2.sh"
7z a aria2c.7z .\aria2\src\aria2c.exe
appveyor PushArtifact aria2c.7z
rd /s /q aria2
set MSYSTEM=MINGW32
C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./build-aria2.sh"
7z a aria2c_x86.7z .\aria2\src\aria2c.exe
appveyor PushArtifact aria2c_x86.7z
test: off
skip_commits:
files:
- 'LICENSE'
- '*.md'
- '.gitingore'