Skip to content

Commit

Permalink
update gcc/g++ to 10
Browse files Browse the repository at this point in the history
fix: g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?

see also https://forums.codeblocks.org/index.php?topic=24079.0
  • Loading branch information
liudonghua123 committed May 17, 2024
1 parent af7ffa3 commit a636f2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ jobs:
- name: Install ubuntu deps
if: startsWith(matrix.os, 'ubuntu')
run: |
ls /usr/bin/gcc*
sudo update-alternatives --list gcc || true
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10
sudo update-alternatives --list gcc || true
gcc -v
sudo apt update -y
sudo apt install -y build-essential python3 python3-pip make libicu-dev
- name: Install macos deps
Expand Down

0 comments on commit a636f2e

Please sign in to comment.