Fix CI errors and unittest compile error on certain compiler versions #438
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: Musl tests | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
- github_actions | |
jobs: | |
main: | |
name: Musl tests | |
strategy: | |
fail-fast: false | |
matrix: | |
dc: [ dmd, ldc ] | |
include: | |
- { dc: dmd, dcname: dmd } | |
- { dc: ldc, dcname: ldc2 } | |
runs-on: ubuntu-latest | |
container: alpine | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: apk add --no-cache build-base dub ${{ matrix.dc }} | |
- name: Run tests | |
run: dub test --compiler=${{ matrix.dcname }} |