From 2b7d21ae43176c4c9cf3b4712d7f0fda520e773a Mon Sep 17 00:00:00 2001 From: Piotr Fusik Date: Tue, 29 Nov 2022 13:51:14 +0100 Subject: [PATCH] Continuous Integration with GitHub Actions. --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..66b6808 --- /dev/null +++ b/.github/workflows/test.yml @@ -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