Skip to content

Commit

Permalink
ci: adds gitlab actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav1dde committed Jun 11, 2021
1 parent 4759466 commit a010cea
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yaml
@@ -0,0 +1,24 @@
name: Run all D Tests
on: [push, pull_request]

jobs:
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 }

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}

- name: Run tests
run: dub -q test
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -11,3 +11,4 @@ __test__library__
*.rf *.rf
lt* lt*
dub.selections.json dub.selections.json
gl3n-test-library
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit a010cea

Please sign in to comment.