Skip to content

Commit

Permalink
Add a workflow to test on Musl
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Jan 18, 2021
1 parent 397527a commit 655dfcd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/musl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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@v2
- name: Install dependencies
run: apk add --no-cache build-base dub ${{ matrix.dc }}
- name: Run tests
run: dub test --compiler=${{ matrix.dcname }}

0 comments on commit 655dfcd

Please sign in to comment.