Skip to content

Commit 6b1e240

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

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ clean:
9090
$(ROOT)/tests_extractor$(DOTEXE): tests_extractor.d
9191
mkdir -p $(ROOT)
9292
DFLAGS="$(DFLAGS)" $(DUB) build \
93-
--single $< --force --compiler=$(DMD) $(DUBFLAGS) \
93+
--single $< --force --compiler="$(DMD)" $(DUBFLAGS) \
9494
&& mv ./tests_extractor$(DOTEXE) $@
9595

9696
################################################################################

0 commit comments

Comments
 (0)