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

Update clang workflows #38

Merged
merged 9 commits into from
Jul 27, 2024
Merged

Conversation

eric-bodhi
Copy link
Contributor

Added a step to set up the Clang environment.
Verified that /usr/bin/clang++-16 is used as the compiler path.

Copy link
Owner

@cieslarmichal cieslarmichal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider using faker workflow:

jobs:
  build:
    runs-on: macos-14
    name: ci-macos-14-apple-clang-18-static
    env:
      CLANG18_PATH: /opt/homebrew/opt/llvm@18/bin/clang

    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Install ccache
        uses: hendrikmuhs/[email protected]

      - name: Install clang
        run: |
          brew install llvm@18 \
          && echo 'export PATH="/opt/homebrew/opt/llvm@18/bin:$PATH"' >> /Users/runner/.bash_profile \
          && source /Users/runner/.bash_profile \
          && which clang++
          

ref https://github.com/cieslarmichal/faker-cxx/blob/main/.github/workflows/macos-clang-build.yml

@eric-bodhi eric-bodhi requested a review from cieslarmichal July 26, 2024 22:50
@cieslarmichal cieslarmichal merged commit 73cfde9 into cieslarmichal:main Jul 27, 2024
4 checks passed
@eric-bodhi eric-bodhi deleted the patch-1 branch July 27, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants