Skip to content

Commit 68ca041

Browse files
committed
ci(gh-actions): Add initial CI pipeline config
1 parent 6c1a954 commit 68ca041

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
test:
12+
name: "[${{ matrix.os }} | ${{ matrix.dc }}]"
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macOS-latest]
16+
dc: [dmd-latest, ldc-latest]
17+
arch: [x86_64]
18+
runs-on: ${{ matrix.os }}
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- name: Install D compiler
23+
uses: dlang-community/setup-dlang@v1
24+
with:
25+
compiler: ${{ matrix.dc }}
26+
- name: Run tests
27+
env:
28+
DC: ${{matrix.dc}}
29+
ARCH: ${{matrix.arch}}
30+
run: |
31+
dub test

0 commit comments

Comments
 (0)