-
Notifications
You must be signed in to change notification settings - Fork 6
39 lines (36 loc) · 985 Bytes
/
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
# 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] # TODO: provision gmp.lib using https://github.com/marketplace/actions/run-vcpkg and then add ‘windows-latest’ to list of os
dc:
- dmd-latest
- ldc-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dlang-community/[email protected]
with:
compiler: ${{ matrix.dc }}
- name: 'Provision dependencies via APT'
run: |
sudo apt install -y llvm
llvm-symbolizer --version
- name: 'Build & Test'
run: |
dub build
dub test