Skip to content

Update CI (#39)

Update CI (#39) #20

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
dc: [dmd-latest, ldc-latest]
arch: [x86_64]
include:
- { os: ubuntu-latest, dc: dmd-2.094.2, arch: x86_64 }
- { os: ubuntu-latest, dc: dmd-2.091.1, arch: x86_64 }
- { os: ubuntu-latest, dc: ldc-1.20.1, arch: x86_64 }
exclude:
- { os: macOS-latest, dc: dmd-latest }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ${{ matrix.dc }}
dub: 1.38.1
- name: Run tests
shell: bash
run: |
dub test
dub build --root=examples/publisher/
dub build --root=examples/subscriber/