Continuous Integration with GitHub Actions.

This commit is contained in:
Piotr Fusik 2022-11-29 13:51:14 +01:00
parent 2f67b3bab4
commit 2b7d21ae43
1 changed files with 14 additions and 0 deletions

14
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: tests
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
dc: [dmd-latest, gdc-latest, ldc-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- uses: dlang-community/setup-dlang@v1
- run: dub build --compiler=$DC
- run: dub test --compiler=$DC