Skip to content

Commit

Permalink
trying to build dmd in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdruppe committed Sep 22, 2024
1 parent cc9b0df commit e1d1168
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/3-build-native/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ runs:
${{ inputs.cmake_flags }}
${{ inputs.with_pgo == 'true' && '-DDFLAGS_LDC=-fprofile-use=../pgo-ldc/merged.profdata' || '' }}
build_targets: all
build_dmd: true
arch: ${{ inputs.arch }}

- run: ../build/bin/ldc2 --version
Expand Down
7 changes: 7 additions & 0 deletions .github/actions/helper-build-ldc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@ inputs:
build_targets:
required: false
default: 'all'
build_dmd:
required: false
default: false
arch:
required: false # Windows only
runs:
using: composite
steps:
- if: build_dmd == true
shell: bash
run: |
make HOST_DMD='${{ inputs.host_dc }}' ENABLE_RELEASE=1 ENABLE_LTO=1 dmd druntime phobos
- if: runner.os != 'Windows'
shell: bash
Expand Down

0 comments on commit e1d1168

Please sign in to comment.