Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable GDC 12 in alpine CI #2548

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
fail-fast: false
matrix:
include:
# Disabled as we rely on DIP1000 `foreach (scope)` which GDC < 12 doesn't support
# - { dc: gdc, dcpkg: gcc-gdc, dcbin: gdc }
- { dc: gdc, dcpkg: gcc-gdc, dcbin: gdc }
- { dc: ldc, dcpkg: ldc, dcbin: ldc2 }
- { dc: dmd, dcpkg: dmd, dcbin: dmd }

Expand Down
3 changes: 3 additions & 0 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ license "MIT"

targetPath "bin"

excludedSourceFiles \
"source/dub/packagesupplier.d" # superseded with dub.packagesuppliers

configuration "application" {
targetType "executable"
mainSourceFile "source/app.d"
Expand Down
6 changes: 4 additions & 2 deletions source/dub/internal/dyaml/node.d
Original file line number Diff line number Diff line change
Expand Up @@ -2598,7 +2598,8 @@ enum castableToNode(T) = (is(T == struct) || is(T == class)) && is(typeof(T.opCa
@safe unittest
{
import dub.internal.dyaml : Loader, Node;
import std : split, to;
import std.string : split;
import std.conv : to;

static class MyClass
{
Expand All @@ -2620,7 +2621,8 @@ enum castableToNode(T) = (is(T == struct) || is(T == class)) && is(typeof(T.opCa
@safe unittest
{
import dub.internal.dyaml : Loader, Node;
import std : split, to;
import std.string : split;
import std.conv : to;

static class MyClass
{
Expand Down