Merge pull request #80 from drug007/patch-1 #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Dub Test | |
strategy: | |
matrix: | |
os: | |
- ubuntu-24.04 | |
- windows-2022 | |
- macos-12 | |
dc: | |
- dmd-2.109.1 | |
- dmd-2.100.0 | |
- ldc-1.39.0 | |
- ldc-1.28.0 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install D compiler | |
uses: dlang-community/setup-dlang@v2 | |
with: | |
compiler: ${{ matrix.dc }} | |
- name: Run tests on Posix | |
if: runner.os != 'Windows' | |
run: dub test -q --build=unittest-cov # -c asan | |
- name: Run tests on Windows | |
if: runner.os == 'Windows' | |
run: dub test -q --build=unittest-cov | |
- name: Build binary | |
run: dub build -q | |
- uses: codecov/codecov-action@v4 |