Conversation
|
Thanks for your pull request, @rainers! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
|
@wilzbach Could you reenable appveyor for this repo? Thanks. |
Done :) |
appveyor.yml
Outdated
| build_script: | ||
| - cd c:/projects/ | ||
| - ps: | | ||
| Start-FileDownload "http://downloads.dlang.org/releases/2.x/$Env:D_VERSION}/dmd.$Env:D_VERSION.windows.7z" -FileName dmd2.7z |
There was a problem hiding this comment.
BTW instead of copy/pasting this all over, we are working towards a windows variant of the installer script. It got a bit stalled though as I'm no expert on Windows nor user.
There was a problem hiding this comment.
BTW instead of copy/pasting this all over, we are working towards a windows variant of the installer script. It got a bit stalled though as I'm no expert on Windows nor user.
I also noticed after creating this PR. Downloading the compiler is usually a smaller problem, but tedious.
Thanks. |
wilzbach
left a comment
There was a problem hiding this comment.
Looks great for an initial version!
Do you plan to do more in this PR or should we squash and merge?
| 7z x bup.zip dm\bin\implib.exe > $null | ||
| Start-FileDownload "http://semitwist.com/download/app/dmd-localextras.7z" -FileName extras.7z | ||
| 7z x extras.7z > $null | ||
| Start-FileDownload "http://nsis.sourceforge.net/mediawiki/images/c/c9/Inetc.zip" -FileName inetc.zip |
There was a problem hiding this comment.
One experience I have from maintaining D's CIs is that the network isn't 100% reliable, especially the FreeBSD Server from digitalmars.
If we can't put those things on downloads.dlang.org, it be be worthwhile to push them into a GitHub repository as mirror. This would have the additional advantage of being a mirror in our control.
| - git clone --depth 1 --branch %BRANCH% https://github.com/dlang/phobos.git "%BASE%/phobos" | ||
| - git clone --depth 1 --branch %BRANCH% https://github.com/dlang/tools.git "%BASE%/tools" | ||
| - git clone --depth 1 --branch %BRANCH% https://github.com/dlang/dlang.org.git "%BASE%/dlang.org" | ||
| - git clone --depth 1 --branch %BRANCH% https://github.com/dlang/dub.git "%BASE%/dub" |
There was a problem hiding this comment.
Could have been a loop and/or function calls to repeat in case of network failures, e.g. https://github.com/dlang/dmd/blob/master/.circleci/run.sh
Of course, this isn't needed for this initial version.
There was a problem hiding this comment.
I've kept that task for your installer helper script #275 ;-)
There was a problem hiding this comment.
We don't need to clone the repos for the install script
Not really, but I'm not sure this should go live for now:
|
|
I think it's still a good step forward to merge this, because it will provide CI feedback for people improving the installer in the future. |
| 7z x dm857c.zip > $null | ||
| Start-FileDownload "http://ftp.digitalmars.com/bup.zip" -FileName bup.zip | ||
| 7z x bup.zip dm\bin\implib.exe > $null | ||
| Start-FileDownload "http://semitwist.com/download/app/dmd-localextras.7z" -FileName extras.7z |
There was a problem hiding this comment.
That's hasn't been used in ages, you can take the binaries from the old release.
There was a problem hiding this comment.
That's hasn't been used in ages, you can take the binaries from the old release.
How do you get anything new into that, e.g. link.exe or snn.lib?
|
If we're going in the direction of testing the build script, we should figure out how to make the VBox build in build_all optional. If on the other hand we just want to test the installer, we should download an already released dmd.windows.7z and build the installer from that. This could even be the nightly https://nightlies.dlang.org/dmd-nightly/dmd.master.windows.7z in case new files need to be shipped. |
I think it's very useful, because this gives reviewers and contributors a informative feedback when doing changes.
Fair point, but a bit unrelated, but maybe @braddr can add a new section "test install" to DAutoTest? |
|
As the load of dlang/dmd is increasing I setup a different AppVeyor account for dlang/installer.
|
|
Now on Azure. |
no docs for now.