We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e38f93a commit 829e771Copy full SHA for 829e771
.github/workflows/main.yml
@@ -21,14 +21,19 @@ jobs:
21
runs-on: ${{ matrix.os }}
22
timeout-minutes: 10
23
env:
24
- DMD: ${{ startsWith(matrix.dc, 'ldc') && 'ldmd2' || 'dmd' }}
25
N: ${{ startsWith(matrix.os, 'macos') && '3' || '2' }}
26
steps:
27
- uses: actions/checkout@v4
28
- name: Install D compiler
29
- uses: dlang-community/setup-dlang@v1.3.0
+ uses: dlang-community/setup-dlang@v2
30
with:
31
compiler: ${{ matrix.dc }}
+ # rdmd_test.d needs this
32
+ - name: Set DMD to its basename without extension
33
+ run: |
34
+ val=$(basename "${DMD}")
35
+ val=${val%.*}
36
+ tee -a ${GITHUB_ENV} <<<"DMD=${val}"
37
- name: Build
38
run: make -j$N DMD=$DMD
39
- name: Test
0 commit comments