File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 6767 - dmd-2.106.1
6868 - dmd-2.109.1
6969 include :
70+ - { os: ubuntu-24.04, dc: gdc-13 }
71+ - { os: ubuntu-24.04, dc: gdc-14 }
72+
7073 - { do_test: false }
7174 - { dc: dmd-latest, do_test: true }
7275 - { dc: ldc-latest, do_test: true }
@@ -103,8 +106,9 @@ jobs:
103106 uses : dlang-community/setup-dlang@v2
104107 with :
105108 compiler : ${{ matrix.dc }}
109+ dub : latest # gdc doesn't come with dub
106110
107- - name : Set DC and DMD
111+ - name : Set environment variables
108112 shell : bash
109113 run : |
110114 for name in DC DMD; do
@@ -113,6 +117,12 @@ jobs:
113117 var=${var%.exe} # strip the extension
114118 tee -a ${GITHUB_ENV} <<<"${name}=${var}"
115119 done
120+ # Pass -Wno-error with gdc, note that DFLAGS in the
121+ # environment makes dub no longer pass -unittest on test
122+ # builds so make sure tests are NOT run.
123+ if [[ ${{ matrix.dc }} == gdc* ]]; then
124+ tee -a ${GITHUB_ENV} <<<"DFLAGS=-Wno-error"
125+ fi
116126
117127 # Checkout the repository
118128 - name : Checkout
You can’t perform that action at this time.
0 commit comments