Update dub.sdl: #8
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
# 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: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Build and Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] # TODO: provision gmp.lib using https://github.com/marketplace/actions/run-vcpkg and then add ‘windows-latest’ to list of os | |
dc: | |
- dmd-latest | |
- ldc-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dlang-community/[email protected] | |
with: | |
compiler: ${{ matrix.dc }} | |
- name: 'Provision dependencies via APT' | |
run: | | |
sudo apt install -y llvm | |
llvm-symbolizer --version | |
- name: 'Build & Test' | |
run: | | |
dub build | |
dub test |