Skip to content

Commit

Permalink
Fix CI warnings in macos runs
Browse files Browse the repository at this point in the history
Lift macos runner in CI and only install needed tools.
  • Loading branch information
bjosv committed Jun 10, 2024
1 parent 76ee071 commit a3d4254
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
macos:
name: macOS
runs-on: macos-12
runs-on: macos-14
steps:
- name: Prepare
run: |
brew install cmake ninja
brew install ninja
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Build and run tests
run: |
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ jobs:
run: |
# Install gcc if not already available.
brew list gcc@${{ matrix.gcc-version }} &>/dev/null || \
brew update && \
brew install gcc@${{ matrix.gcc-version }}
(brew update && brew install gcc@${{ matrix.gcc-version }})
- name: Build and run tests
env:
CC: gcc-${{ matrix.gcc-version }}
Expand All @@ -190,8 +189,7 @@ jobs:
run: |
# Install gcc if not already available.
brew list gcc@${{ matrix.gcc-version }} &>/dev/null || \
brew update && \
brew install gcc@${{ matrix.gcc-version }}
(brew update && brew install gcc@${{ matrix.gcc-version }})
- name: Build and run tests
env:
CC: gcc-${{ matrix.gcc-version }}
Expand Down

0 comments on commit a3d4254

Please sign in to comment.