Skip to content

Commit

Permalink
switch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaloupka committed Sep 26, 2021
1 parent a192cad commit cd7bcd7
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 12 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,36 @@
# 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: ci

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
name: tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
dc: [dmd-latest, ldc-latest, dmd-2.095.1, dmd-2.094.2, ldc-1.27.1, ldc-1.25.1, ldc-1.24.0, dmd-2.091.1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- id: normal
name: Normal tests
run: dub test
- name: betterC tests
run: dub test -c=betterC
- name: Upload codecov
if: matrix.os == 'ubuntu-latest' && matrix.dc == 'dmd-latest'
run: |
dub test -b=unittest-cov -v -- -t 1 -v || true
bash <(curl -s https://codecov.io/bash)
19 changes: 8 additions & 11 deletions README.md
Expand Up @@ -107,14 +107,11 @@ Alternatively, since it's a single file self-contained implementation, you can s

Build is tested against:

* dmd-2.089.0
* dmd-2.088.1
* dmd-2.087.1
* dmd-2.086.1
* dmd-2.085.1
* ldc-1.18.0
* ldc-1.17.0
* ldc-1.16.0
* ldc-1.15.0
* ldc-1.14.0
* dmd-beta
* dmd-latest
* dmd-2.095.1
* dmd-2.094.2
* dmd-2.091.1
* ldc-latest
* ldc-1.27.1
* ldc-1.25.1
* ldc-1.24.0
2 changes: 1 addition & 1 deletion dub.selections.json
@@ -1,6 +1,6 @@
{
"fileVersion": 1,
"versions": {
"silly": "1.0.0"
"silly": "1.1.1"
}
}

0 comments on commit cd7bcd7

Please sign in to comment.