Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit140d0b3

Browse files
committed
update appveyor support
1 parentb310e2a commit140d0b3

File tree

3 files changed

+57
-18
lines changed

3 files changed

+57
-18
lines changed

‎appveyor.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
init:
2-
-git config --global core.autocrlf input
32
build_script:
43
-cmd:build.cmd
54
test:off

‎build.cmd‎

Lines changed: 45 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@echoon
22

3+
setAPPVEYOR_CI=1
4+
35
:: Check prerequisites
46
set_msbuildexe="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
57
ifnotexist%_msbuildexe%set_msbuildexe="%ProgramFiles%\MSBuild\12.0\Bin\MSBuild.exe"
@@ -19,39 +21,67 @@ if not exist %_gacutilexe% echo Error: Could not find gacutil.exe. && goto :eof
1921

2022
%_msbuildexe% src\fsharp-proto-build.proj
2123
@if ERRORLEVEL1echo Error: compiler proto build failed&&goto :eof
24+
2225
ngen install lib\proto\fsc-proto.exe
26+
2327
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true
2428
@if ERRORLEVEL1echo Error: library debug build failed&&goto :eof
29+
2530
%_msbuildexe% src/fsharp-compiler-build.proj /p:UseNugetPackages=true
2631
@if ERRORLEVEL1echo Error: compile debug build failed&&goto :eof
27-
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=net20
28-
@if ERRORLEVEL1echo Error: library net20 debug build failed&&goto :eof
32+
33+
REM We don't build new net20 FSharp.Core anymore
34+
REM %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=net20
35+
REM @if ERRORLEVEL 1 echo Error: library net20 debug build failed && goto :eof
36+
2937
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47
3038
@if ERRORLEVEL1echo Error: library portable47 debug build failed&&goto :eof
31-
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7
32-
@if ERRORLEVEL1echo Error: library portable7 debug build failed&&goto :eof
39+
40+
REM Dropped for faster build
41+
REM %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7
42+
REM @if ERRORLEVEL 1 echo Error: library portable7 debug build failed && goto :eof
43+
44+
3345
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78
3446
@if ERRORLEVEL1echo Error: library portable78 debug build failed&&goto :eof
47+
48+
REM Dropped for faster build
49+
REM %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable259
50+
REM @if ERRORLEVEL 1 echo Error: library portable259 debug build failed && goto :eof
51+
3552
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true
3653
@if ERRORLEVEL1echo Error: library unittests debug build failed&&goto :eof
37-
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47
38-
@if ERRORLEVEL1echo Error: library unittests debug build failed portable47&&goto :eof
39-
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7
40-
@if ERRORLEVEL1echo Error: library unittests debug build failed portable7&&goto :eof
41-
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78
42-
@if ERRORLEVEL1echo Error: library unittests debug build failed portable78&&goto :eof
54+
55+
56+
REM Dropped for faster build
57+
REM %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47
58+
@REM if ERRORLEVEL 1 echo Error: library unittests debug build failed portable47 && goto :eof
59+
60+
REM Dropped for faster build
61+
REM %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7
62+
REM @if ERRORLEVEL 1 echo Error: library unittests debug build failed portable7 && goto :eof
63+
64+
REM Dropped for faster build
65+
REM %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78
66+
REM @if ERRORLEVEL 1 echo Error: library unittests debug build failed portable78 && goto :eof
67+
68+
4369
@echoon
4470
call src\update.cmd debug -ngen
71+
4572
@echoon
4673
call tests\BuildTestTools.cmd debug
4774
REM @if ERRORLEVEL 1 echo Error: 'tests\BuildTestTools.cmd debug' failed && goto :eof
75+
4876
@echoon
77+
78+
tests\RunTests.cmd debug fsharp Smoke
79+
@if ERRORLEVEL1echo Error: 'RunTests.cmd debug fsharpqa Smoke' failed&&goto :eof
80+
81+
tests\RunTests.cmd debug fsharpqa Smoke
82+
@if ERRORLEVEL1echo Error: 'RunTests.cmd debug fsharpqa Smoke' failed&&goto :eof
83+
4984
setPATH=%PATH%;%~dp0%packages\NUnit.Runners.2.6.3\tools\
5085
tests\RunTests.cmd debug coreunit
5186
@if ERRORLEVEL1echo Error: 'RunTests.cmd debug coreunit' failed&&goto :eof
52-
tests\RunTests.cmd debug fsharp Smoke
53-
@if ERRORLEVEL1echo Error: 'RunTests.cmd debug fsharpqa Smoke' failed&&goto :eof
5487

55-
REM Disabled for now
56-
REM tests\RunTests.cmd debug fsharpqa Smoke
57-
REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmd debug fsharpqa Smoke' failed && goto :eof

‎tests/RunTests.cmd‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ set _tmp=%4
1919
ifnot '%_tmp%'== ''setNO_TTAGS_ARG=-nottags:ReqPP,%_tmp:"=%
2020

2121
rem Use commented line to enable parallel execution of tests
22-
setPARALLEL_ARG=-procs:%NUMBER_OF_PROCESSORS%
22+
rem
23+
rem Disabled for APPVEYOR_CI due to anaemic Perl implementation
24+
rem
25+
IFNOTDEFINED APPVEYOR_CI (
26+
setPARALLEL_ARG=-procs:%NUMBER_OF_PROCESSORS%
27+
)
2328

2429
rem This can be set to 1 to reduce the number of permutations used and avoid some of the extra-time-consuming tests
2530
setREDUCED_RUNTIME=1
@@ -28,7 +33,12 @@ if "%REDUCED_RUNTIME%" == "1" set NO_TTAGS_ARG=%NO_TTAGS_ARG%,Expensive
2833
rem Set this to 1 in order to use an external compiler host process
2934
rem This only has an effect when running the FSHARPQA tests, but can
3035
rem greatly speed up execution since fsc.exe does not need to be spawned thousands of times
31-
setHOSTED_COMPILER=1
36+
rem
37+
rem Disabled for APPVEYOR_CI due to anaemic Perl implementation
38+
rem
39+
IFNOTDEFINED APPVEYOR_CI (
40+
setHOSTED_COMPILER=1
41+
)
3242

3343
rem path to fsc.exe which will be used by tests
3444
setFSCBINPATH=%~dp0..\%FLAVOR%\net40\bin

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp