File tree Expand file tree Collapse file tree 1 file changed +18
-14
lines changed
Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,24 @@ permissions:
1515
1616jobs :
1717 build :
18-
19- runs-on : ubuntu-latest
18+ strategy :
19+ matrix :
20+ os : [ubuntu-latest, macos-latest, windows-latest]
21+ dc : [dmd, ldc]
22+ runs-on : ${{ matrix.os }}
2023
2124 steps :
22- - uses : actions/checkout@v4
23- - uses : dlang-community/setup-dlang@v2
25+ - uses : actions/checkout@v4
26+ - uses : dlang-community/setup-dlang@v2
27+ with : ${{ matrix.dc }}
2428
25- - name : ' Build & Test'
26- run : |
27- # Build the project, with its main file included, without unittests
28- dub build
29- # Build and run tests, as defined by `unittest` configuration
30- # In this mode, `mainSourceFile` is excluded and `version (unittest)` are included
31- # See https://dub.pm/package-format-json.html#configurations
32- dub test
33- # Run tests
34- cd tests && rdmd test
29+ - name : ' Build & Test'
30+ run : |
31+ # Build the project, with its main file included, without unittests
32+ dub build
33+ # Build and run tests, as defined by `unittest` configuration
34+ # In this mode, `mainSourceFile` is excluded and `version (unittest)` are included
35+ # See https://dub.pm/package-format-json.html#configurations
36+ dub test
37+ # Run tests
38+ cd tests && rdmd test
You can’t perform that action at this time.
0 commit comments