Skip to content

Commit

Permalink
WIP: use ubuntu-24.04 image.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed May 10, 2024
1 parent 08f5e25 commit 5bc5841
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-24.04, macos-latest]
std_version: [20, 23]

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

- name: Add homebrew to PATH (Linux only)
- name: Get Ninja via apt-get (Linux only)
if: runner.os == 'Linux'
run: |
echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH
sudo apt-get install ninja-build
echo "CC=/usr/bin/clang-18" >> "$GITHUB_ENV"
echo "CXX=/usr/bin/clang++-18" >> "$GITHUB_ENV"
- name: Get LLVM and Ninja via Homebrew
- name: Get LLVM and Ninja via Homebrew (macOS only)
if: runner.os == 'macOS'
run: |
brew install llvm ninja
echo "CC=$(brew --prefix llvm)/bin/clang" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 5bc5841

Please sign in to comment.