-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (42 loc) · 1.26 KB
/
d_tests.yml
File metadata and controls
47 lines (42 loc) · 1.26 KB
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
44
45
46
47
name: D Tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
name: Dub Tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
dc: [dmd-latest, ldc-latest]
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 -q test
test2:
name: Dub Tests 2
if: ${{ false }}
strategy:
matrix:
os: [ttldtor-win-x64]
dc: [dmd-latest, ldc-latest]
defaults:
run:
shell: msys2 {0}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
msystem: MINGW64
compiler: ${{ matrix.dc }}
- name: Run tests
run: dub -q test