Skip to content

Commit

Permalink
Merge pull request #73 from atilaneves/update-actions
Browse files Browse the repository at this point in the history
Update Github Actions
  • Loading branch information
atilaneves committed Jun 5, 2023
2 parents 2ae47bd + 6b5529a commit 929e2bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -6,21 +6,28 @@ jobs:
name: Dub Test
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-10.15]
dc: [dmd-2.100.0, ldc-1.28.0]
os:
- ubuntu-20.04
- windows-2019
- macos-11
dc:
- dmd-2.103.1
- dmd-2.100.0
- ldc-1.32.2
- ldc-1.28.0

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

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

- name: Run tests on Posix
if: runner.os != 'Windows'
run: dub test -q --build=unittest-cov -c asan
run: dub test -q --build=unittest-cov # -c asan

- name: Run tests on Windows
if: runner.os == 'Windows'
Expand All @@ -29,4 +36,4 @@ jobs:
- name: Build binary
run: dub build -q

- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion dub.selections.json
@@ -1,7 +1,7 @@
{
"fileVersion": 1,
"versions": {
"test_allocator": "0.3.3",
"test_allocator": "0.3.4",
"unit-threaded": "2.0.2"
}
}

0 comments on commit 929e2bc

Please sign in to comment.