Re: How to use Dub and Digger to build Pull Requests?

2023-05-24 Thread Quirin Schroll via Digitalmars-d-learn

On Tuesday, 23 May 2023 at 13:52:15 UTC, Vladimir Panteleev wrote:

On Tuesday, 23 May 2023 at 13:50:09 UTC, Quirin Schroll wrote:

```
object.Exception@%LOCALAPPDATA%\dub\packages\ae-0.0.3236\ae\sys\d\manager.d(898): Command ["make", "-f", 
"win32.mak", "MODEL=32", 
"HOST_DC=C:\\Users\\qschroll\\Documents\\d\\mydmd\\work\\dl\\dmd-2.079.0\\dmd2/windows/bin\\dmd.exe", "dmd"] failed 
with status 1
```


This shows that the build failed, but you will have to look 
above this line to see why.


I got what I wanted using [`dmd 
-i`](https://forum.dlang.org/post/ltpjhrigitsizepwc...@forum.dlang.org) instead of digger.


Re: How to use Dub and Digger to build Pull Requests?

2023-05-24 Thread Danny Arends via Digitalmars-d-learn

On Tuesday, 23 May 2023 at 13:51:29 UTC, Quirin Schroll wrote:

On Tuesday, 23 May 2023 at 13:50:09 UTC, Quirin Schroll wrote:

The dlang-bot writes a message to every PR:

 Testing this PR locally

If you don't have a local development environment setup, you 
can use Digger to test this PR:

```bash
dub run digger -- build "master + dmd#<>"
```


I installed the current DMD (version 2.103.1) and executed the 
above command; I’m getting the following error:


For the record, I tried multiple PRs and plain `"master"`. It 
doesn’t seem to be related to the particular PR.


Seems to be a version conflict...
You mentioned that you used: version 2.103.1
However the DMD being called is in:

Documents\\d\\mydmd\\work\\dl\\dmd-2.079.0

so it seems to be 2.079.0




Re: How to use Dub and Digger to build Pull Requests?

2023-05-23 Thread Vladimir Panteleev via Digitalmars-d-learn

On Tuesday, 23 May 2023 at 13:50:09 UTC, Quirin Schroll wrote:

```
object.Exception@%LOCALAPPDATA%\dub\packages\ae-0.0.3236\ae\sys\d\manager.d(898): Command ["make", "-f", 
"win32.mak", "MODEL=32", 
"HOST_DC=C:\\Users\\qschroll\\Documents\\d\\mydmd\\work\\dl\\dmd-2.079.0\\dmd2/windows/bin\\dmd.exe", "dmd"] failed 
with status 1
```


This shows that the build failed, but you will have to look above 
this line to see why.




Re: How to use Dub and Digger to build Pull Requests?

2023-05-23 Thread Quirin Schroll via Digitalmars-d-learn

On Tuesday, 23 May 2023 at 13:50:09 UTC, Quirin Schroll wrote:

The dlang-bot writes a message to every PR:

 Testing this PR locally

If you don't have a local development environment setup, you 
can use Digger to test this PR:

```bash
dub run digger -- build "master + dmd#<>"
```


I installed the current DMD (version 2.103.1) and executed the 
above command; I’m getting the following error:


For the record, I tried multiple PRs and plain `"master"`. It 
doesn’t seem to be related to the particular PR.