mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
CI: Use Xcode's Clang in the macOS workflows
Most users will be building with Xcode Clang on macOS anyway, as our build scripts default to the system compiler if it's new enough. We already have an upstream Clang-based workflow on Linux, so we won't lose any compiler coverage by switching to Apple Clang on macOS. This should help us avoid build breakages like #186.
This commit is contained in:
parent
d86a6e1bec
commit
9df41954c0
Notes:
sideshowbarker
2024-07-17 03:00:02 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/LadybirdBrowser/ladybird/commit/9df41954c0 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/210
3 changed files with 5 additions and 4 deletions
1
.github/actions/setup/action.yml
vendored
1
.github/actions/setup/action.yml
vendored
|
@ -49,6 +49,7 @@ runs:
|
|||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
sudo xcode-select --switch /Applications/Xcode_15.4.app
|
||||
brew update
|
||||
brew install autoconf autoconf-archive automake coreutils bash ninja wabt ccache unzip qt llvm@18
|
||||
|
||||
|
|
4
.github/workflows/lagom-template.yml
vendored
4
.github/workflows/lagom-template.yml
vendored
|
@ -72,8 +72,8 @@ jobs:
|
|||
echo "host_cxx=g++-13" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
elif ${{ inputs.os_name == 'macOS' }} ; then
|
||||
echo "host_cc=$(brew --prefix llvm@18)/bin/clang" >> "$GITHUB_OUTPUT"
|
||||
echo "host_cxx=$(brew --prefix llvm@18)/bin/clang++" >> "$GITHUB_OUTPUT"
|
||||
echo "host_cc=$(xcrun --find clang)" >> "$GITHUB_OUTPUT"
|
||||
echo "host_cxx=$(xcrun --find clang++)" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Set dynamic environment variables
|
||||
|
|
4
.github/workflows/nightly-android.yml
vendored
4
.github/workflows/nightly-android.yml
vendored
|
@ -60,8 +60,8 @@ jobs:
|
|||
- name: Assign Build Parameters
|
||||
id: 'build-parameters'
|
||||
run: |
|
||||
echo "host_cc=$(brew --prefix llvm@18)/bin/clang" >> "$GITHUB_OUTPUT"
|
||||
echo "host_cxx=$(brew --prefix llvm@18)/bin/clang++" >> "$GITHUB_OUTPUT"
|
||||
echo "host_cc=$(xcrun --find clang)" >> "$GITHUB_OUTPUT"
|
||||
echo "host_cxx=$(xcrun --find clang++)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Install NDK
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue