Skip to content

Commit ce89734

Browse files
committed
CI: test dmd and ldc2 on ubuntu macos and windows
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
1 parent bd89fc0 commit ce89734

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/d.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@ permissions:
1515

1616
jobs:
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:
2225
- uses: actions/checkout@v4
2326
- uses: dlang-community/setup-dlang@v2
27+
with: ${{ matrix.dc }}
2428

2529
- name: 'Build & Test'
2630
run: |

0 commit comments

Comments
 (0)