forked from sbpp/sourcebans-pp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (33 loc) · 1.39 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
34
35
36
37
38
39
40
41
version: '{branch}-{build}'
environment:
matrix:
- SOURCEMOD: 1.9
- SOURCEMOD: 1.10
- SOURCEMOD: 1.11
matrix:
allow_failures:
- SOURCEMOD: 1.11
install:
- ps: Invoke-WebRequest "https://www.sourcemod.net/latest.php?version=$env:SOURCEMOD&os=windows" -OutFile "sourcemod-$env:SOURCEMOD-windows.zip"
- ps: Expand-Archive -Path "sourcemod-$env:SOURCEMOD-windows.zip" -DestinationPath "game"
- ps: cd game\addons\sourcemod\scripting\include\
- ps: Invoke-WebRequest "https://raw.githubusercontent.com/sbpp/Updater-include-mirror/master/scripting/include/updater.inc" -OutFile "updater.inc"
- ps: cd ..
build: off
test_script:
- cmd: spcomp sbpp_main.sp -E -i%CD% -v0
- cmd: spcomp sbpp_admcfg.sp -E -i%CD% -v0
- cmd: spcomp sbpp_comms.sp -E -i%CD% -v0
- cmd: spcomp sbpp_checker.sp -E -i%CD% -v0
- cmd: spcomp sbpp_sleuth.sp -E -i%CD% -v0
- cmd: spcomp sbpp_report.sp -E -i%CD% -v0
after_test:
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: 7z a sourcebans-pp.plugin-only.zip %APPVEYOR_BUILD_FOLDER%\game\addons\sourcemod\scripting\*.smx
- cmd: 7z a sourcebans-pp.plugin-only.tar %APPVEYOR_BUILD_FOLDER%\game\addons\sourcemod\scripting\*.smx
- cmd: 7z a sourcebans-pp.plugin-only.tar.gz sourcebans-pp.plugin-only.tar
artifacts:
- path: sourcebans-pp.plugin-only.zip
name: sourcebans-pp-zip
- path: sourcebans-pp.plugin-only.tar.gz
name: sourcebans-pp-tar.gz