-
Notifications
You must be signed in to change notification settings - Fork 14
42 lines (39 loc) · 900 Bytes
/
test.yml
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
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
dc:
- dmd-latest
- dmd-2.099.1
- dmd-2.098.1
- ldc-latest
- ldc-1.29.0
- ldc-1.28.1
exclude:
- os: macOS-latest
- dc: dmd-2.098.1
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: Run tests
shell: bash
run: |
dub test --compiler=${DC}
dub test --compiler=${DC} --build=unittest-dip1000
if [ "$DC" = "dmd" ]; then ./test-betterc.sh; fi