Skip to content

Commit

Permalink
try the mac os thing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdruppe committed Nov 19, 2024
1 parent bac9e48 commit 9776ed6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with_pgo: false

- job_name: macOS x86_64
os: macos-12
os: macos-13
arch: x86_64
bootstrap_cmake_flags: >-
-DBUILD_LTO_LIBS=ON
Expand Down Expand Up @@ -79,10 +79,14 @@ jobs:
llvm_version: ${{ env.LLVM_VERSION }}
arch: ${{ matrix.arch }}
- name: Build bootstrap LDC
if: matrix.os != 'macos-15'
uses: ./.github/actions/2-build-bootstrap
with:
cmake_flags: ${{ matrix.bootstrap_cmake_flags }}
arch: ${{ matrix.arch }}
- name: 'macOS 15: Use host LDC (with Xcode-compatible LLVM version) as bootstrap LDC'
if: matrix.os == 'macos-15'
run: ln -s $(dirname $(dirname $(which ldmd2))) ../bootstrap-ldc
- name: Build LDC with PGO instrumentation & gather profile from compiling default libs
if: matrix.with_pgo
uses: ./.github/actions/2a-build-pgo
Expand Down Expand Up @@ -126,7 +130,7 @@ jobs:
include:

- job_name: macOS arm64
host_os: macos-12
host_os: macos-15
os: osx
arch: arm64
bootstrap_cmake_flags: -DD_COMPILER_FLAGS=-gcc=/usr/bin/c++
Expand Down

0 comments on commit 9776ed6

Please sign in to comment.