Skip to content

Commit c023732

Browse files
committed
Change CI so it builds everything in release configuration
closes dotnet#209 commit 07b96ab Author: latkin <latkin@microsoft.com> Date: Tue Feb 3 18:23:08 2015 -0800 Update expected build output path for AppVeyor artifact commit b71549a Author: latkin <latkin@microsoft.com> Date: Tue Feb 3 16:02:07 2015 -0800 Change CI so it builds everything in release configuration
1 parent 0d697bb commit c023732

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

appveyor-build.cmd

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,67 +26,67 @@ if not exist %_ngenexe% echo Error: Could not find ngen.exe. && goto :eof
2626
%_ngenexe% install Proto\net40\bin\fsc-proto.exe
2727
@if ERRORLEVEL 1 echo Error: NGen of proto failed && goto :eof
2828

29-
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true
30-
@if ERRORLEVEL 1 echo Error: library debug build failed && goto :eof
29+
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:Configuration=Release
30+
@if ERRORLEVEL 1 echo Error: library build failed && goto :eof
3131

32-
%_msbuildexe% src/fsharp-compiler-build.proj /p:UseNugetPackages=true
33-
@if ERRORLEVEL 1 echo Error: compile debug build failed && goto :eof
32+
%_msbuildexe% src/fsharp-compiler-build.proj /p:UseNugetPackages=true /p:Configuration=Release
33+
@if ERRORLEVEL 1 echo Error: compiler build failed && goto :eof
3434

3535
REM We don't build new net20 FSharp.Core anymore
3636
REM %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=net20
37-
REM @if ERRORLEVEL 1 echo Error: library net20 debug build failed && goto :eof
37+
REM @if ERRORLEVEL 1 echo Error: library net20 build failed && goto :eof
3838

39-
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47
40-
@if ERRORLEVEL 1 echo Error: library portable47 debug build failed && goto :eof
39+
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47 /p:Configuration=Release
40+
@if ERRORLEVEL 1 echo Error: library portable47 build failed && goto :eof
4141

42-
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7
43-
@if ERRORLEVEL 1 echo Error: library portable7 debug build failed && goto :eof
42+
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7 /p:Configuration=Release
43+
@if ERRORLEVEL 1 echo Error: library portable7 build failed && goto :eof
4444

4545

46-
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78
47-
@if ERRORLEVEL 1 echo Error: library portable78 debug build failed && goto :eof
46+
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78 /p:Configuration=Release
47+
@if ERRORLEVEL 1 echo Error: library portable78 build failed && goto :eof
4848

49-
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable259
50-
@if ERRORLEVEL 1 echo Error: library portable259 debug build failed && goto :eof
49+
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable259 /p:Configuration=Release
50+
@if ERRORLEVEL 1 echo Error: library portable259 build failed && goto :eof
5151

5252

5353

5454

55-
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true
56-
@if ERRORLEVEL 1 echo Error: library unittests debug build failed && goto :eof
55+
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:Configuration=Release
56+
@if ERRORLEVEL 1 echo Error: library unittests build failed && goto :eof
5757

58-
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47
59-
@if ERRORLEVEL 1 echo Error: library unittests debug build failed portable47 && goto :eof
58+
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47 /p:Configuration=Release
59+
@if ERRORLEVEL 1 echo Error: library unittests build failed portable47 && goto :eof
6060

61-
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7
62-
@if ERRORLEVEL 1 echo Error: library unittests debug build failed portable7 && goto :eof
61+
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7 /p:Configuration=Release
62+
@if ERRORLEVEL 1 echo Error: library unittests build failed portable7 && goto :eof
6363

64-
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78
65-
@if ERRORLEVEL 1 echo Error: library unittests debug build failed portable78 && goto :eof
64+
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78 /p:Configuration=Release
65+
@if ERRORLEVEL 1 echo Error: library unittests build failed portable78 && goto :eof
6666

6767

6868
@echo on
69-
call src\update.cmd debug -ngen
69+
call src\update.cmd release -ngen
7070

7171
@echo on
72-
call tests\BuildTestTools.cmd debug
73-
REM @if ERRORLEVEL 1 echo Error: 'tests\BuildTestTools.cmd debug' failed && goto :eof
72+
call tests\BuildTestTools.cmd release
73+
@if ERRORLEVEL 1 echo Error: 'tests\BuildTestTools.cmd release' failed && goto :eof
7474

7575
@echo on
7676

7777
pushd tests
7878

7979
REM Disabled while working out perl problem, see https://github.com/Microsoft/visualfsharp/pull/169
80-
REM call RunTests.cmd debug fsharp Smoke
81-
REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmd debug fsharpqa Smoke' failed && goto :eof
80+
REM call RunTests.cmd release fsharp Smoke
81+
REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmd release fsharpqa Smoke' failed && goto :eof
8282

8383
REM Disabled while working out perl problem, see https://github.com/Microsoft/visualfsharp/pull/169
84-
REM call RunTests.cmd debug fsharpqa Smoke
85-
REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmd debug fsharpqa Smoke' failed && goto :eof
84+
REM call RunTests.cmd release fsharpqa Smoke
85+
REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmd release fsharpqa Smoke' failed && goto :eof
8686

8787
set PATH=%PATH%;%~dp0%packages\NUnit.Runners.2.6.3\tools\
88-
call RunTests.cmd debug coreunit
89-
@if ERRORLEVEL 1 echo Error: 'RunTests.cmd debug coreunit' failed && goto :eof
88+
call RunTests.cmd release coreunit
89+
@if ERRORLEVEL 1 echo Error: 'RunTests.cmd release coreunit' failed && goto :eof
9090

9191
popd
9292

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ build_script:
44
test: off
55
version: 0.0.1.{build}
66
artifacts:
7-
- path: Debug
8-
name: Debug
7+
- path: Release
8+
name: Release

0 commit comments

Comments
 (0)