@@ -41,37 +41,37 @@ jobs:
41
41
# --health-retries 4
42
42
43
43
# steps:
44
- # - uses: actions/checkout@v2
45
-
46
- # - name: Install ${{ matrix.compiler }}
47
- # uses: dlang-community/setup-dlang@v1
48
- # with:
49
- # compiler: ${{ matrix.compiler }}
50
-
51
- # - name: Install dependencies on Ubuntu
52
- # if: startsWith(matrix.os, 'ubuntu')
53
- # run: sudo apt-get update && sudo apt-get install libevent-dev -y
54
-
55
- # ## Turns out the unittest-vibe-ut tried to connect to an actualy MySQL on 172.18.0.1 so it's not
56
- # ## actually a unit test at all. It's an integration test and should be pulled out from the main
57
- # ## codebase into a separate sub module
58
- # - name: Run unittest-vibe-ut
59
- # env:
60
- # MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
61
- # run: |
62
- # echo "host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb" > testConnectionStr.txt
63
- # dub run -c unittest-vibe-ut -- -t
64
-
65
- # - name: Build The Example Project
66
- # working-directory: ./examples/homePage
67
- # run: dub build
68
-
69
- # - name: Run Example (MySQL 8)
70
- # working-directory: ./examples/homePage
71
- # env:
72
- # MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
73
- # run: |
74
- # ./example "host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb"
44
+ # - uses: actions/checkout@v2
45
+
46
+ # - name: Install ${{ matrix.compiler }}
47
+ # uses: dlang-community/setup-dlang@v1
48
+ # with:
49
+ # compiler: ${{ matrix.compiler }}
50
+
51
+ # - name: Set up test connection string
52
+ # env:
53
+ # MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
54
+ # run: |
55
+ # echo "host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb" > testConnectionStr.txt
56
+
57
+ # - name: Run unittests with Vibe.d
58
+ # run: |
59
+ # dub run ":integration-tests-vibe"
60
+
61
+ # - name: Run unittests with Phobos
62
+ # run: |
63
+ # dub run ":integration-tests-phobos"
64
+
65
+ # - name: Build The Example Project
66
+ # working-directory: ./examples/homePage
67
+ # run: dub build
68
+
69
+ # - name: Run Example (MySQL 8)
70
+ # working-directory: ./examples/homePage
71
+ # env:
72
+ # MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
73
+ # run: |
74
+ # ./example "host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb"
75
75
76
76
mysql57-tests :
77
77
name : MySQL 5.7 Tests ${{ matrix.compiler }}
87
87
- ldc-1.25.1 # eq to dmd v2.095.1
88
88
- ldc-1.24.0 # eq to dmd v2.094.1
89
89
90
- runs-on : ubuntu-20.04
90
+ runs-on :
91
+ - ubuntu-20.04
92
+ - windows-latest
93
+ - macos-latest
91
94
92
95
services :
93
96
mysql :
@@ -113,10 +116,6 @@ jobs:
113
116
with :
114
117
compiler : ${{ matrix.compiler }}
115
118
116
- - name : Install dependencies on Ubuntu
117
- if : startsWith(matrix.os, 'ubuntu')
118
- run : sudo apt-get update && sudo apt-get install libevent-dev -y
119
-
120
119
- name : Set up test connection string
121
120
env :
122
121
MYSQL_PORT : ${{ job.services.mysql.ports[3306] }}
@@ -182,10 +181,6 @@ jobs:
182
181
with :
183
182
compiler : ${{ matrix.compiler }}
184
183
185
- - name : Install dependencies on Ubuntu
186
- if : startsWith(matrix.os, 'ubuntu')
187
- run : sudo apt-get update && sudo apt-get install libevent-dev -y
188
-
189
184
- name : Set up test connection string
190
185
env :
191
186
MYSQL_PORT : ${{ job.services.mysql.ports[3306] }}
0 commit comments