diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..7566f7b --- /dev/null +++ b/.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 diff --git a/.gitignore b/.gitignore index 0f37353..164014a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ __test__library__ *.rf lt* dub.selections.json +gl3n-test-library diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c34e74b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: d - -d: - - dmd - - gdc - - ldc - - dmd-2.093.1