Skip to content

Commit

Permalink
[ci] Use the latest gcc version in macOS CI jobs (#4640)
Browse files Browse the repository at this point in the history
* Use the latest gcc version in macOS CI jobs

* test: swap compilers

* Revert "test: swap compilers"

* Revert "test: swap compilers"
  • Loading branch information
StrikerRUS authored Oct 5, 2021
1 parent f3037c1 commit 01aa295
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

if [[ $OS_NAME == "macos" ]] && [[ $COMPILER == "gcc" ]]; then
export CXX=g++-10
export CC=gcc-10
export CXX=g++-11
export CC=gcc-11
elif [[ $OS_NAME == "linux" ]] && [[ $COMPILER == "clang" ]]; then
export CXX=clang++
export CC=clang
Expand Down

0 comments on commit 01aa295

Please sign in to comment.