Merge pull request #84 from atilaneves/update #103
This file contains hidden or 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-13 | |
| dc: | |
| - dmd-2.111.0 | |
| - dmd-2.100.0 | |
| - ldc-1.41.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@v5.1.2 |