Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c5dc4d
commit 58e4cc1
Showing
3 changed files
with
42 additions
and
32 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: D | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
dc: | ||
- dmd-latest | ||
- ldc-latest | ||
- dmd-beta | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7 | ||
with: | ||
compiler: ${{ matrix.dc }} | ||
- name: 'Test' | ||
run: | | ||
dub test | ||
coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7 | ||
with: | ||
compiler: dmd-latest | ||
- name: 'Install dependencies' | ||
run: | | ||
sudo apt-get install libcurl4-openssl-dev | ||
- name: 'Test (with coverage)' | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
run: | | ||
dub test -b unittest-cov | ||
dub fetch doveralls | ||
dub run doveralls |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# VIRC | ||
[![Build Status](https://travis-ci.org/Herringway/virc.svg?branch=master)](https://travis-ci.org/Herringway/virc) | ||
[![Coverage Status](https://coveralls.io/repos/Herringway/virc/badge.svg?branch=master&service=github)](https://coveralls.io/github/Herringway/virc?branch=master) | ||
[![GitHub tag](https://img.shields.io/github/tag/herringway/virc.svg)](https://github.com/Herringway/virc) |