Skip to content

Commit

Permalink
CI env bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed Jun 14, 2024
1 parent 0c11911 commit f8704b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
env:
GCC_MAJOR: 14

strategy:
fail-fast: false
Expand All @@ -19,8 +21,6 @@ jobs:
- os: macos-latest
c_compiler: clang
cpp_compiler: clang++-18
env:
GCC_MAJOR: 14

- os: ubuntu-24.04
c_compiler: clang
Expand All @@ -30,6 +30,7 @@ jobs:
- name: Install Dependencies
if: matrix.os == 'macos-latest'
run: |
echo "GCC_MAJOR: ${{ env.GCC_MAJOR }}"
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=TRUE
brew update
brew install ninja cmake git "gcc@${{ env.GCC_MAJOR }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cpack-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
build_then_package:
runs-on: ${{ matrix.os }}
env:
GCC_MAJOR: 14

strategy:
fail-fast: false
Expand All @@ -19,8 +21,6 @@ jobs:
- os: macos-latest
c_compiler: clang
cpp_compiler: clang++-18
env:
GCC_MAJOR: 14

- os: ubuntu-24.04
c_compiler: clang
Expand Down

0 comments on commit f8704b5

Please sign in to comment.