-
Notifications
You must be signed in to change notification settings - Fork 847
Enable Build/CI with Mono #1703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
bca9a71
travis
dsyme e2c5111
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme 15fa9b4
travis
dsyme 93955ec
fix travis
dsyme 0131c9e
fix travis
dsyme f29f382
Update .travis.yml
dsyme b158f72
travis
dsyme a24d951
Update .travis.yml
dsyme 991196e
Update .travis.yml
dsyme c784924
Update .travis.yml
dsyme ca739f9
Update .travis.yml
dsyme 977543e
Update .travis.yml
dsyme 18d3935
tools version update
dsyme a36e7b0
travis
dsyme 89f7bdb
travis
dsyme 464dd7f
travis
dsyme 1f9b725
travis
dsyme 9b9ab41
travis
dsyme 5e62eb1
travis
dsyme a364df1
travis
dsyme a1e3d62
travis
dsyme 96d8a44
travis
dsyme f871891
travis
dsyme c5910b3
fix capitalization
c1d70d8
fix registry access on startup
dsyme c490a51
Merge branch 'travis' of https://github.com/dsyme/visualfsharp into t…
dsyme 82429e0
build.sh
03f89d6
Merge branch 'travis' of https://github.com/dsyme/visualfsharp into t…
f05026d
try dotnet instead of corehost
dsyme fcd3ab5
rename
dsyme db08502
merge
dsyme b6b5130
Merge branch 'travis' of https://github.com/dsyme/visualfsharp into t…
dsyme dff2e5d
minor update
dsyme 9eb254a
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme dc56924
Mono only
dsyme 08fa8ab
Mono only
dsyme 5d94463
Mono only
dsyme 7a3efdc
update
dsyme 1c5a113
update
dsyme b82f7b5
Mono only
dsyme ef9e7a3
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme 9acfa43
Mono only
dsyme 52780cc
Mono only
dsyme 42040d8
Mono only
dsyme dc98fa1
Mono only
dsyme 69a2f3c
add diag
dsyme 48604d7
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme 0fb8fe4
proper replace
dsyme bb55495
proper replace
dsyme d070633
proper replace
dsyme 339e524
fssrgen
dsyme 64c63b7
make fssrgen a script
dsyme 53d876d
fix bug
dsyme b2c8aa3
registry hack
9ad0a02
don't use C# task
dsyme 68e786b
don't use C# task
dsyme be3249a
fix arg parsing
dsyme b5f4608
merge
dsyme 84967ba
fix arg parsing
dsyme a03d674
buikdtools --> scripts
dsyme bfcd9a5
build for net40 on Linux
dsyme d3e0d0a
make mono registry directory
dsyme c950aab
add diagnostics
dsyme bfd395c
fix indentation bug
dsyme e65ee6b
add diagnostics
dsyme 64c1bf8
add diagnostics
dsyme 617e2a9
try install of fsharp package
dsyme fbfc907
FsLexYacc 7.0.1
dsyme a8c99b2
fix fssrgen on linux
8e81fd3
fix fssrgen to avoid Mono bugs for F~ scripting
36cbc24
fix subst
dsyme 46e3b1d
merge
dsyme 37798d8
fix copying targets
dsyme b142300
fix copying targets
dsyme ffe0f01
Fix resources targets fo xbuild
dsyme ae5b3ec
minimize install
1256461
fix script path
dsyme 2666cd0
fix script invocation
dsyme f908b27
fix diagnostics
dsyme f3b78c6
fix build.cmd
dsyme File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
|
|
||
| language: csharp | ||
|
|
||
| sudo: required | ||
| dist: trusty | ||
|
|
||
| os: | ||
| - linux | ||
|
|
||
| mono: | ||
| - latest | ||
| - 4.6.1 | ||
|
|
||
| env: | ||
| - BUILD_NET40=1 TEST_NET40_COREUNIT_SUITE=1 | ||
|
|
||
| # These are not yet enabled | ||
| # - BUILD_CORECLR=1 TEST_CORECLR_COREUNIT_SUITE=1 | ||
| # - BUILD_CORECLR=1 TEST_CORECLR_COREUNIT_SUITE=1 BUILD_PROTO_WITH_CORECLR_LKG=1 | ||
|
|
||
| script: | ||
| - ./build.sh | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 1.0.26-prerelease-00920-02 | ||
| 1.0.27-prerelease-01001-04 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
|
|
||
| (if test x-$BUILD_CORECLR = x-1; then \ | ||
| sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'; \ | ||
| sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893; \ | ||
| sudo apt-get update; \ | ||
| sudo apt-get install dotnet-dev-1.0.0-preview2-003131; \ | ||
| fi) | ||
| mono .nuget/NuGet.exe restore packages.config -PackagesDirectory packages -ConfigFile .nuget/NuGet.Config | ||
|
|
||
| (if test x-$BUILD_CORECLR = x-1; then \ | ||
| (cd tests/fsharp; mono ../../.nuget/NuGet.exe restore project.json -PackagesDirectory ../../packages -ConfigFile ../../.nuget/NuGet.Config); \ | ||
| fi) | ||
| (if test x-$BUILD_CORECLR = x-1; then ./init-tools.sh; echo "------ start log"; cat ./init-tools.log; echo "------ end log"; fi) | ||
| (if test x-$BUILD_PROTO_WITH_CORECLR_LKG = x-1; then cd lkg/fsc && dotnet restore --packages ../packages && dotnet publish project.json -o ../Tools/lkg -r ubuntu.14.04-x64; fi) | ||
| (if test x-$BUILD_PROTO_WITH_CORECLR_LKG = x-1; then cd lkg/fsi && dotnet restore --packages ../packages && dotnet publish project.json -o ../Tools/lkg -r ubuntu.14.04-x64; fi) | ||
|
|
||
| #TODO: work out how to avoid the need for this | ||
| chmod u+x packages/FSharp.Compiler.Tools.4.0.1.19/tools/fsi.exe | ||
| chmod u+x packages/FsLexYacc.7.0.1/build/fslex.exe | ||
| chmod u+x packages/FsLexYacc.7.0.1/build/fsyacc.exe | ||
|
|
||
| # The FSharp.Compiler.Tools package doesn't work correctly unless a proper install of F# has been done on the machine | ||
| sudo apt-get install fsharp | ||
|
|
||
| # "access to the path /etc/mono/registry/last-time is denied" | ||
| sudo mkdir /etc/mono/registry | ||
| sudo chmod uog+rw /etc/mono/registry | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It mentions Linux but in before_install.sh the apt-get command are, I assume, ubuntu specific, maybe mention "tested with Ubuntu"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks