Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Jun 24, 2024
2 parents 637fe85 + accdd55 commit 7658fa8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
fail-fast: false
matrix:
# Latest stable version, update at will
os: [ macOS-11, ubuntu-20.04, windows-2019 ]
os: [ macOS-12, ubuntu-20.04, windows-2019 ]
dc:
# Always test latest as that is what we use to compile on release
- dmd-latest
Expand All @@ -61,10 +61,10 @@ jobs:
- dmd-master
- ldc-master
# Test some intermediate versions
- ldc-1.26.0
- dmd-2.098.1
- dmd-2.101.1
- dmd-2.104.2
- ldc-1.29.0
- dmd-2.099.1
- dmd-2.102.2
- dmd-2.105.3
include:
- { do_test: false }
- { dc: dmd-latest, do_test: true }
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ macOS-11, ubuntu-20.04, windows-2019 ]
os: [ macOS-12, ubuntu-20.04, windows-2019 ]
arch: [ x86_64 ]
include:
- { os: windows-2019, arch: i686 }
- { os: macOS-latest, arch: arm64 }

runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -48,7 +49,7 @@ jobs:
env:
GITVER: ${{ github.event.release.tag_name }}
DMD: "ldmd2"
ARCH_TRIPLE: ${{ matrix.arch }}-${{ runner.os == 'linux' && 'pc-linux' || 'apple-darwin' }}
ARCH_TRIPLE: ${{ matrix.arch }}-${{ runner.os == 'linux' && 'pc-linux' || 'apple-darwin' }}
run: |
ldc2 -run ./build.d -release -mtriple=${ARCH_TRIPLE}
pushd bin
Expand Down
3 changes: 1 addition & 2 deletions source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ version (DigitalMars) version (D_Coverage)
*
* https://dlang.org/changelog/2.087.0.html#gc_parallel
*/
static if (__VERSION__ >= 2087)
extern(C) __gshared string[] rt_options = [ "gcopt=parallel:0" ];
extern(C) __gshared string[] rt_options = [ "gcopt=parallel:0" ];

int main(string[] args)
{
Expand Down
1 change: 1 addition & 0 deletions test/issue2377-dynLib-dep-extra-files/parent/dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ configuration "exe_dynamic" {
subConfiguration "dep1" "dynlib"
dflags "-link-defaultlib-shared" platform="ldc"
dflags "-defaultlib=libphobos2.so" platform="linux-dmd"
lflags "-rpath" "@executable_path" platform="osx"
}

0 comments on commit 7658fa8

Please sign in to comment.