taggedalgebraic/.github/workflows/ci.yml
2021-01-05 10:48:16 +01:00

37 lines
822 B
YAML

name: Test Suite
# Only triggers on pushes/PRs to master
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
name: CI
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
dc: [dmd-latest, ldc-latest, ldc-1.15.0]
arch: [x86, x86_64]
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 tests
env:
CONFIG: ${{matrix.config}}
ARCH: ${{matrix.arch}}
shell: bash
run: dub test