Skip to content

Commit 8fe24b6

Browse files
committed
CI: bump setup-dlang to v2
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
1 parent c39bd46 commit 8fe24b6

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,20 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
timeout-minutes: 10
2020
env:
21-
DMD: ${{ startsWith(matrix.dc, 'ldc') && 'ldmd2' || 'dmd' }}
2221
N: ${{ startsWith(matrix.os, 'macos') && '3' || '2' }}
2322
steps:
2423
- uses: actions/checkout@v4
2524
- name: Install D compiler
26-
uses: dlang-community/setup-dlang@v1.3.0
25+
uses: dlang-community/setup-dlang@v2
2726
with:
2827
compiler: ${{ matrix.dc }}
2928
- name: Build
3029
shell: bash
31-
run: make -j$N DMD=$DMD
30+
run: make -j$N DMD="$DMD"
3231
- name: Test
3332
shell: bash
34-
run: make -j$N DMD=$DMD test
33+
run: make -j$N DMD="$DMD" test
3534
- name: 'Windows: Build and test with MODEL=32'
3635
if: runner.os == 'Windows'
3736
shell: bash
38-
run: make -j$N DMD=$DMD MODEL=32 all test
37+
run: make -j$N DMD="$DMD" MODEL=32 all test

0 commit comments

Comments
 (0)