@@ -20,11 +20,15 @@ environment:
20
20
- MINGW_ROOT : C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64
21
21
MINGW_VERSION : v8.1.0
22
22
23
+ matrix :
24
+ fast_finish : true
25
+
23
26
install :
24
27
# Update env variables to use the desired MinGW version
25
28
- ps : |
26
29
Set-AppveyorBuildVariable -Name PATH -Value "$Env:MINGW_ROOT\bin\;$Env:PATH";
27
30
Set-AppveyorBuildVariable -Name DIR_MINGW64 -Value "$Env:MINGW_ROOT\x86_64-w64-mingw32";
31
+ Set-AppveyorBuildVariable -Name SCCACHE_C_CUSTOM_CACHE_BUSTER -Value "$Env:MINGW_VERSION"
28
32
# Ensure we have the precompiled libraries to link with (SDL, etc.).
29
33
- ps : |
30
34
if (!(Test-Path 'C:\dev64')) { New-Item 'C:\dev64' -ItemType Directory; }
@@ -49,19 +53,22 @@ build_script:
49
53
- ps : mingw32-make.exe -re -j2 -f .winmake $Env:es_run_mode;
50
54
51
55
before_test :
52
- - ps : mingw32-make.exe -re -j2 -f .winmake build-tests;
56
+ - ps : |
57
+ Set-AppveyorBuildVariable -Name BUILDDIR -Value "build/pkgd"
58
+ mingw32-make.exe -re -j2 -f .winmake build-tests;
53
59
- ps : |
54
60
$here = (Get-Location).Path;
55
61
Copy-Item -Path "bin\pkgd\release\endless-sky.exe" -Destination $here;
56
62
Copy-Item -Path "C:\dev64\bin\*.dll" -Exclude "libstdc*" -Destination $here;
57
63
58
64
test_script :
59
- - ps : .\tests\endless-sky-tests.exe -n es-ci -i --warn NoAssertions --order rand --rng-seed 'time' --filenames-as-tags -r junit -o $Env:TEST_REPORT_FILE;
60
- - ps : .\tests \test_parse.ps1 'endless-sky.exe';
65
+ - ps : .\tests\unit\ endless-sky-tests.exe -n es-ci -i --warn NoAssertions --order rand --rng-seed 'time' --filenames-as-tags -r junit -o $Env:TEST_REPORT_FILE;
66
+ - ps : .\utils \test_parse.ps1 'endless-sky.exe';
61
67
62
68
# Upload the build if tests passed.
63
69
after_test :
64
70
- ps : |
71
+ sccache --show-stats
65
72
$here = (Get-Location).Path;
66
73
Copy-Item -Path "$Env:DIR_MINGW64\lib\libstdc++-6.dll" -Destination $here;
67
74
Copy-Item -Path "$Env:DIR_MINGW64\lib\libgcc_s_seh-1.dll" -Destination $here;
0 commit comments