-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.04 KB
/
d.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
43
44
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: D
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
name: Build and Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
dc:
- dmd-latest
- dmd-2.099.0 # must be supported for GDC support
- dmd-2.092.0 # minimum working at point of writing
- ldc-latest
- ldc-1.27.0
- ldc-1.23.0
exclude:
# linker errors with unit-threaded on dmd-latest with 2.101 for some reason
- os: windows-latest
dc: dmd-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dlang-community/[email protected]
with:
compiler: ${{ matrix.dc }}
- name: 'Build & Test'
run: |
dub build
dub test