Merge pull request #2796 from WebFreak001/patch-2 #493
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 }} openssl-dev zlib-dev | |
- name: Run tests | |
env: | |
DC: ${{ matrix.dcname }} | |
run: dub test --compiler=${{ matrix.dcname }} |