-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (37 loc) · 971 Bytes
/
main.yml
File metadata and controls
43 lines (37 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: base
on: [push]
jobs:
test:
name: Dub Tests
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
dc:
- dmd-latest
- ldc-latest
- dmd-2.097.2
- dmd-2.096.1
- dmd-2.095.1
- dmd-2.094.2
- ldc-1.27.1
- ldc-1.26.0
- ldc-1.25.0
- ldc-1.24.0
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: Run tests
run: |
dub test
dub test --config=allow-raw-unions
dub --root=example --single mir_algebraic_example.d
dub --root=example --single taggedalgebraic_example.d
dub --root=example --single sumtype_example.d
dub --root=example --single all_example.d