2023-02-26 17:49:20 +00:00
|
|
|
# This workflow uses actions that are not certified by GitHub.
|
|
|
|
# They are provided by a third-party and are governed by
|
|
|
|
# separate terms of service, privacy policy, and support
|
|
|
|
# documentation.
|
|
|
|
name: D
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "vardec_varass_dependency" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "vardec_varass_dependency" ]
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
2023-03-25 20:59:22 +00:00
|
|
|
test:
|
|
|
|
name: Dub Tests
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
dc: [dmd-latest, ldc-latest, dmd-2.085.0, ldc-1.17.0]
|
|
|
|
exclude:
|
|
|
|
- { os: macOS-latest, dc: dmd-2.085.0 }
|
2023-02-26 17:49:20 +00:00
|
|
|
|
2023-03-25 20:59:22 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
2023-02-26 17:49:20 +00:00
|
|
|
steps:
|
2023-03-25 20:59:22 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install D compiler
|
|
|
|
uses: dlang-community/setup-dlang@v1
|
|
|
|
with:
|
|
|
|
compiler: ${{ matrix.dc }}
|
2023-02-26 17:49:20 +00:00
|
|
|
|
2023-03-25 20:59:22 +00:00
|
|
|
- name: Run tests
|
|
|
|
run: dub -q test
|