-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Travis CI with Github Actions, raise minimum version
Using Github Actions allows us to have testing on all three platforms. Additionally, the minimum version have been raised, as versions lower than 2.088.1 / LDC 1.17.0 do not work on Mac OSX 10.15 (Catalina) because of the removal of a private API Druntime was using.
- Loading branch information
Showing
2 changed files
with
40 additions
and
37 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,40 @@ | ||
# Github action to test localrest | ||
# | ||
# Also upload the documentation to Github pages | ||
# | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
main: | ||
name: Run | ||
# Matrix configuration | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ] | ||
dc: [ ldc-master, dmd-master, ldc-latest, dmd-latest, ldc-1.17.0, dmd-2.088.1 ] | ||
|
||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 15 | ||
|
||
# The actual work being performed | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Prepare compiler | ||
uses: dlang-community/setup-dlang@v1 | ||
with: | ||
compiler: ${{ matrix.dc }} | ||
|
||
- name: Test | ||
shell: bash | ||
run: dub test -b unittest-cov --compiler=${DC} | ||
|
||
- uses: codecov/codecov-action@v1 | ||
with: | ||
name: localrest-${{ matrix.os }}-${{ matrix.dc }} | ||
flags: unittest | ||
# false until we can re-trigger a single test in Github | ||
fail_ci_if_error: false |
This file was deleted.
Oops, something went wrong.