Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
myrsloik committed May 25, 2024
2 parents ddaac8d + f6e272b commit 53c35da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

env:
CC: gcc-13
CXX: g++-13
CC: gcc-14
CXX: g++-14

steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,17 @@ jobs:

- name: Install Homebrew packages
run: |
export HOMEBREW_NO_INSTALL_CLEANUP=1
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
# Skip brew update for now, see https://github.com/actions/setup-python/issues/577
# brew update
brew update
brew install ffmpeg llvm meson vapoursynth xxhash
- name: Set environment variables for Clang/LLVM
run: |
echo "CC=/usr/local/opt/llvm/bin/clang" >> $GITHUB_ENV
echo "CXX=/usr/local/opt/llvm/bin/clang++" >> $GITHUB_ENV
echo "PATH=/usr/local/opt/llvm/bin:$PATH" >> $GITHUB_ENV
echo "CC=/opt/homebrew/opt/llvm/bin/clang" >> $GITHUB_ENV
echo "CXX=/opt/homebrew/opt/llvm/bin/clang++" >> $GITHUB_ENV
echo "PATH=/opt/homebrew/opt/llvm/bin:$PATH" >> $GITHUB_ENV
- name: Build
run: |
meson setup -Dcpp_link_args=-fuse-ld=lld build
meson setup "-Dcpp_link_args=['-fuse-ld=lld', '-L/opt/homebrew/opt/llvm/lib/c++', '-Wl,-rpath,/opt/homebrew/opt/llvm/lib/c++']" build
ninja -C build

0 comments on commit 53c35da

Please sign in to comment.