Skip to content

Commit 6b1d934

Browse files
committed
Add initial GitHub actions
1 parent bc7521e commit 6b1d934

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Run all D Tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
name: Dub Tests
7+
strategy:
8+
matrix:
9+
os: [ubuntu-latest, windows-latest, macOS-latest]
10+
dc: [dmd-latest, ldc-latest]
11+
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Install D compiler
17+
uses: dlang-community/setup-dlang@v1
18+
with:
19+
compiler: ${{ matrix.dc }}
20+
21+
- name: Run tests
22+
run: dub test

0 commit comments

Comments
 (0)