-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (33 loc) · 953 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
40
41
name: Run all D Tests and Codecov
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Dub Tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
dc: [ldc-latest, ldc-beta, dmd-latest, dmd-beta]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- name: D Compiler Installation
uses: dlang-community/[email protected]
with:
compiler: ${{ matrix.dc }}
- name: Run tests with coverage
run: dub -q test --build=unittest-cov
- name: Install Lapack
if: contains( matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install libopenblas-dev
shell: bash
- name: Run Blas Tests with coverage
if: contains( matrix.os, 'ubuntu')
run: dub -q test --build=unittest-cov-blas --config=openblas
- name: Codecov
uses: codecov/[email protected]