-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (37 loc) · 963 Bytes
/
d.yml
File metadata and controls
44 lines (37 loc) · 963 Bytes
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 ]
jobs:
build:
strategy:
matrix:
os:
- windows-latest
- ubuntu-latest
dc:
- ldc-latest
- dmd-latest
runs-on: ${{matrix.os}}
steps:
- name: Setup D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: Checkout source
uses: actions/checkout@v2
- name: "Get deps"
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
sudo apt-get install -y libxi-dev
- name: 'Build'
run: |
# Build the project, with its main file included, without unittests
dub build