Skip to content

Commit

Permalink
Add GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
robik committed Feb 17, 2024
1 parent 1fbc0fa commit 4c9ecd1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run Tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
name: DUB Tests
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
dc: [dmd-latest, dmd-beta, ldc-latest, ldc-beta]
exclude:
- { os: macOS-latest, dc: dmd-latest }
- { os: macOS-latest, dc: dmd-beta }

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- name: Install D Compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}

- name: Run Unittests
run: dub -q test

0 comments on commit 4c9ecd1

Please sign in to comment.