Skip to content

Commit 3c89950

Browse files
committed
Build release version with library config
1 parent 26b0c7c commit 3c89950

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

.github/workflows/dub.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,13 @@ jobs:
4646
- name: Upgrade dub dependencies
4747
uses: WebFreak001/[email protected]
4848

49-
- name: Ensure project builds
50-
run: dub build
49+
- name: Build Library
50+
run: dub build --build=release --config=library
51+
52+
## Turns out the unittest-vibe-ut tried to connect to an actualy MySQL on 172.18.0.1 so it's not
53+
## actually a unit test at all. It's an integration test and should be pulled out of the codebase.
54+
# - name: Run unittest-vibe-ut
55+
# run: dub run -c unittest-vibe-ut -- -t
5156

5257
# - name: Run Tests (phobos)
5358
# run: ./run_tests --mode=phobos
@@ -73,6 +78,15 @@ jobs:
7378
- dmd-2.091.1
7479
- dmd-2.090.1
7580
- dmd-2.089.1
81+
- dmd-2.088.1
82+
- dmd-2.087.1
83+
- dmd-2.086.1
84+
- dmd-2.085.1
85+
- dmd-2.084.1
86+
- dmd-2.083.1
87+
- dmd-2.082.1
88+
- dmd-2.081.2
89+
- dmd-2.080.1
7690
- ldc-1.23.0 # eq to dmd v2.093.1
7791
- ldc-1.22.0 # eq to dmd v2.092.1
7892
- ldc-1.21.0 # eq to dmd v2.091.1
@@ -94,8 +108,13 @@ jobs:
94108
- name: Upgrade dub dependencies
95109
uses: WebFreak001/[email protected]
96110

97-
- name: Ensure project builds
98-
run: dub build
111+
- name: Build Library
112+
run: dub build --build=release --config=library
113+
114+
## Turns out the unittest-vibe-ut tried to connect to an actualy MySQL on 172.18.0.1 so it's not
115+
## actually a unit test at all. It's an integration test and should be pulled out of the codebase.
116+
# - name: Run unittest-vibe-ut
117+
# run: dub run -c unittest-vibe-ut -- -t
99118

100119
# cache
101120
- uses: WebFreak001/[email protected]

0 commit comments

Comments
 (0)