Fix deprecation about throwing of immutable exception #82
Workflow file for this run
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-22.04 | |
- windows-2019 | |
- macos-11 | |
dc: | |
- dmd-2.108.0 | |
- dmd-2.100.0 | |
- ldc-1.37.0 | |
- ldc-1.28.0 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install D compiler | |
uses: dlang-community/[email protected] | |
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@v3 |