Add building dmd with dub

This commit is contained in:
dkorpel 2023-09-01 14:53:20 +02:00 committed by Mathias LANG
parent da20db5e0e
commit edbc819e06
3 changed files with 39 additions and 1 deletions

21
.github/workflows/build_with_dub.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Build D compiler using dub
on:
- pull_request
- push
jobs:
test:
name: Build D compiler using dub
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install Host D compiler
uses: dlang-community/setup-dlang@v1.3.0
- name: Invoke dub
run: dub run dmd:compiler -- --version