1010 BUILD_CONFIGURATION : Release
1111 BUILD_PLATFORM : x64
1212 BUILD_PLATFORM_TOOLSET : v142
13+ DMD_VER : 2.111.0
14+ VISUALD_VER : 1.4.1
1315
1416jobs :
1517 build :
@@ -35,22 +37,22 @@ jobs:
3537 - name : Prepare D compiler
3638 uses : dlang-community/setup-dlang@v1
3739 with :
38- compiler : dmd-2.111.0
40+ compiler : dmd-$DMD_VER
3941 - name : Add MSBuild to PATH
4042 uses : microsoft/setup-msbuild@v1.0.2
4143 - name : Setup VS environment
4244 uses : seanmiddleditch/gha-setup-vsdevenv@v4
4345 - name : Download Visual D
4446 uses : supplypike/setup-bin@v1
4547 with :
46- uri : ' https://github.com/dlang/visuald/releases/download/v1.4.1 /VisualD-v1.4.1 .exe'
47- name : ' VisualD-v1.4.1 .exe'
48- version : ' 1.4.1 '
49- command : ./VisualD-v1.4.1 .exe /S
48+ uri : ' https://github.com/dlang/visuald/releases/download/v$VISUALD_VER /VisualD-v$VISUALD_VER .exe'
49+ name : ' VisualD-v$VISUALD_VER .exe'
50+ version : ' $VISUALD_VER '
51+ command : ./VisualD-v$VISUALD_VER .exe /S
5052 - name : Register visuald
5153 run : |
52- reg add "HKLM\SOFTWARE\DMD" /v "InstallationDir" /t REG_SZ /d "c:\hostedtoolcache\windows\dc\dmd-2.098.1 \x64" /reg:32 /f
53- reg add "HKLM\SOFTWARE\VisualD" /v "DMDInstallDir" /t REG_SZ /d "c:\hostedtoolcache\windows\dc\dmd-2.098.1 \x64\dmd2" /reg:32 /f
54+ reg add "HKLM\SOFTWARE\DMD" /v "InstallationDir" /t REG_SZ /d "c:\hostedtoolcache\windows\dc\dmd-$DMD_VER \x64" /reg:32 /f
55+ reg add "HKLM\SOFTWARE\VisualD" /v "DMDInstallDir" /t REG_SZ /d "c:\hostedtoolcache\windows\dc\dmd-$DMD_VER \x64\dmd2" /reg:32 /f
5456 - name : Build visuald
5557 working-directory : visuald/trunk
5658 run : nmake d_modules dmdserver_test
0 commit comments