Skip to content

Commit

Permalink
change compiler from gxx to gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Josee1031 committed Aug 8, 2024
1 parent f7f5167 commit 41aa3cf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:
run: |
sudo apt-get update
if [ "${{ matrix.compiler.name }}" == "gnu" ]; then
sudo apt-get install -y g++-${{ matrix.compiler.version }}
export CXX=g++-${{ matrix.compiler.version }}
sudo apt-get install -y gcc-${{ matrix.compiler.version }} g++-${{ matrix.compiler.version }}
export CC=gcc-${{ matrix.compiler.version }}
elif [ "${{ matrix.compiler.name }}" == "clang" ]; then
sudo apt-get install -y clang-${{ matrix.compiler.version }}
export CXX=clang++-${{ matrix.compiler.version }}
export CC=clang-${{ matrix.compiler.version }}
fi
- name: make check
run: make check
run:
make check

0 comments on commit 41aa3cf

Please sign in to comment.