Skip to content

Commit

Permalink
add step to install clang
Browse files Browse the repository at this point in the history
  • Loading branch information
417-72KI committed Jul 7, 2024
1 parent f77c04a commit 6007f53
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,29 @@ jobs:
${{ runner.os }}-${{ github.job }}-${{ matrix.xcode_version }}-
${{ runner.os }}-${{ github.job }}-
${{ runner.os }}-
- name: Cache Homebrew modules
uses: actions/cache@v4
env:
cache-name: brew
with:
path: |
~/Library/Caches/Homebrew/llvm--
~/Library/Caches/Homebrew/downloads/*--llvm--
key: ${{ runner.os }}-${{ github.job }}-${{ matrix.xcode_version }}-${{ env.cache-name }}-${{ hashFiles('**/Package.swift') }}
restore-keys: |
${{ runner.os }}-${{ github.job }}-${{ matrix.xcode_version }}-${{ env.cache-name }}-
${{ runner.os }}-${{ github.job }}-${{ matrix.xcode_version }}-
${{ runner.os }}-${{ github.job }}-
${{ runner.os }}-
- name: Disable SwiftLint Plugin
run: sed -i -e 's/.*SwiftLint.*//g' Package.swift
- name: Install LLVM
env:
HOMEBREW_NO_AUTO_UPDATE: 1
run: brew install llvm
- name: Activate clang module
run: |
swift package resolve
sudo swift .build/checkouts/ClangSwift/utils/make-pkgconfig.swift
- name: Test
run: swift test

0 comments on commit 6007f53

Please sign in to comment.