Fix MutexedAA.uniqueKey not compiling #60
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
name: D | |
on: | |
push: | |
branches-ignore: | |
- travis-* | |
- circleci-* | |
- appveyor-* | |
- dustmite-* | |
- gh-pages | |
pull_request: | |
branches-ignore: | |
- travis-* | |
- circleci-* | |
- appveyor-* | |
- dustmite-* | |
- gh-pages | |
jobs: | |
build: | |
name: 'Everything' | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macOS-latest, windows-latest ] | |
dc: [ dmd-latest, dmd-2.084.0, ldc-latest, ldc-1.18.0 ] | |
exclude: | |
- { os: macOS-latest, dc: dmd-2.084.0 } | |
- { os: macOS-latest, dc: ldc-1.18.0 } | |
runs-on: ${{ matrix.os }} | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install D compiler' | |
uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: ${{ matrix.dc }} | |
- name: 'Build and test' | |
run: | | |
dub test | |
dub build --nodeps -b debug | |
dub build --nodeps -b plain | |
dub build --nodeps -b release | |
- name: 'Generate documenation' | |
if: matrix.dc == 'dmd-latest' && matrix.os == 'ubuntu-latest' && success() | |
run: | | |
dub fetch adrdox | |
dub run adrdox -- -ip --header-title="lu" source | |
cp -rv .circleci generated-docs | |
- name: 'Deploy documentation to GitHub Pages' | |
if: matrix.dc == 'dmd-latest' && matrix.os == 'ubuntu-latest' && success() | |
uses: crazy-max/ghaction-github-pages@v2.2.0 | |
with: | |
target_branch: gh-pages | |
keep_history: false | |
allow_empty_commit: true | |
build_dir: generated-docs |