File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ jobs:
30
30
{
31
31
# Install dmd for the associated tools (dub/rdmd)
32
32
version : dmd-latest,
33
- dmd : gdmd
33
+ dmd : gdc-12
34
34
}
35
35
]
36
36
host : [
37
- ubuntu-latest ,
37
+ ubuntu-22.04 ,
38
38
macos-latest,
39
39
windows-latest
40
40
]
@@ -50,15 +50,15 @@ jobs:
50
50
exclude :
51
51
# Restrict GDC to Ubuntu
52
52
- compiler :
53
- dmd : gdmd
53
+ dmd : gdc-12
54
54
host : windows-latest
55
55
- compiler :
56
- dmd : gdmd
56
+ dmd : gdc-12
57
57
host : macos-latest
58
58
59
59
# Omit dub builds for GDC because dub rejects the old fronted revision
60
60
- compiler :
61
- dmd : gdmd
61
+ dmd : gdc-12
62
62
build :
63
63
type : dub
64
64
@@ -75,17 +75,17 @@ jobs:
75
75
# Install the host compiler (DMD or LDC)
76
76
# Also grabs DMD for GDC to include dub + rdmd
77
77
- name : Install ${{ matrix.compiler.version }}
78
- if : ${{ matrix.compiler.dmd != 'gdmd ' || matrix.build.type == 'dub' }} # Fetch required tools for GDC
78
+ if : ${{ matrix.compiler.dmd != 'gdc-12 ' || matrix.build.type == 'dub' }} # Fetch required tools for GDC
79
79
uses : dlang-community/setup-dlang@v1
80
80
with :
81
81
compiler : ${{ matrix.compiler.version }}
82
82
83
83
# GDC not yet supported by setup-dlang
84
84
- name : Install GDC via apt-get
85
- if : ${{ matrix.compiler.dmd == 'gdmd ' }}
85
+ if : ${{ matrix.compiler.dmd == 'gdc-12 ' }}
86
86
run : |
87
- sudo apt-get install gdc gdmd -y
88
- gdc --version
87
+ sudo apt-get install gdc-12 -y
88
+ gdc-12 --version
89
89
90
90
# Compile D-Scanner and execute all tests without dub
91
91
- name : Build and test without dub
Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ GDC_DEBUG_VERSIONS = -fversion=dparse_verbose
54
54
DC_FLAGS += -Jbin
55
55
override DMD_FLAGS += $(DFLAGS ) -w -release -O -od${OBJ_DIR}
56
56
override LDC_FLAGS += $(DFLAGS ) -O5 -release -oq
57
- override GDC_FLAGS += $(DFLAGS ) -O3 -frelease
57
+ override GDC_FLAGS += $(DFLAGS ) -O3 -frelease -fall-instantiations
58
+
59
+ override GDC_TEST_FLAGS += -fall-instantiations
58
60
59
61
DC_TEST_FLAGS += -g -Jbin
60
62
override DMD_TEST_FLAGS += -w
You can’t perform that action at this time.
0 commit comments