Cirrus CI: Prepare for druntime/Phobos CI#11868
Conversation
In order not to have to `source` it multiple times, leading to ugly clutter in CI logs.
e9383ff to
c5e2cdd
Compare
As preparation for using this script for druntime/Phobos CI too.
|
Alright, enabling Cirrus CI for druntime and Phobos after this should be a matter of adding some ~80 YAML lines to both repos, very similar to how Azure CI is handled. |
|
Thanks for your pull request and interest in making D better, @kinke! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. 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. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#11868" |
WalterBright
left a comment
There was a problem hiding this comment.
-
Non-trivial changes should come with at least some explanation of what the PR does other than "Prepare".
-
Bash code is code and should be commented as appropriate.
|
As preparation for druntime/Phobos CI, so that they can use this file too instead of having to duplicate these steps in their .cirrus.yml.
HOST_DC is more self-descriptive I think; DMD & D_VERSION are rather misleading for D host compiler and its version. Also get rid of the `install_d` arg and use HOST_DC directly.
| sudo wget https://raw.githubusercontent.com/D-Programming-GDC/GDMD/master/dmd-script -O /usr/bin/gdmd-${GDC_VERSION} | ||
| sudo chmod +x /usr/bin/gdmd-${GDC_VERSION} | ||
| sudo curl -fsSL -A "$CURL_USER_AGENT" --connect-timeout 5 --speed-time 30 --speed-limit 1024 --retry 5 --retry-delay 5 https://raw.githubusercontent.com/D-Programming-GDC/GDMD/master/dmd-script -o /usr/bin/gdmd-$gdc_version | ||
| sudo chmod +x /usr/bin/gdmd-$gdc_version |
There was a problem hiding this comment.
? I see only one script being created in the code
There was a problem hiding this comment.
This gdmd script is downloaded one line above.
|
Comments are better now. Pls fix the remaining comments then merge. Thanks! |
|
Okay, I think your remaining comments (the majority of which not related to changes in this PR :]) should have been addressed. |
|
The |
|
Ping. |
|
This won't automerge due to an autotester 'break'. |
|
Really? everything looks green. |
No description provided.