Skip to content

Commit

Permalink
CI try gcc/g++ on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
leoisl committed Jul 14, 2022
1 parent 74973a5 commit cd4bbdd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
steps:
- name: Install dependencies
run: |
brew install cmake gcc g++
which gcc
which g++
brew install cmake gcc@12
which gcc-12
which g++-12
cmake --version
gcc --version
g++ --version
gcc-12 --version
g++-12 --version
- name: Check out code for the build
uses: actions/checkout@v2
Expand All @@ -55,6 +55,6 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ..
cmake -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12 ..
make
make test

0 comments on commit cd4bbdd

Please sign in to comment.