Skip to content

migrate to github actions #7

migrate to github actions

migrate to github actions #7

Workflow file for this run

name: Run sanitycheck
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
dc: [dmd-latest, ldc-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Clone dlang-tour/core
uses: actions/checkout@v3
with:
repository: dlang-tour/core
path: ../core
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: 'Run sanitycheck'
run: |
dub --root=../core --compiler=${DC} -- --sanitycheck --lang-dir=.