File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,17 @@ jobs:
1515 build-type : ['release', 'debug']
1616 node-version : ['16']
1717
18+ # Download and install gcc-6 and g++-6 from Ubuntu 18.04
1819 steps :
1920 - uses : actions/checkout@v4
2021 - name : Install packages
2122 run : |
22- sudo add-apt-repository ppa:ubuntu-toolchain-r/test
2323 sudo apt update
24- sudo apt-get install -y gcc-6 g++-6 libstdc++-6-dev
24+ sudo apt install -y wget
25+ wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-6/gcc-6_6.5.0-2ubuntu1~18.04_amd64.deb
26+ wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-6/g++-6_6.5.0-2ubuntu1~18.04_amd64.deb
27+ wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-6/libstdc++-6-dev_6.5.0-2ubuntu1~18.04_amd64.deb
28+ sudo dpkg -i gcc-6_6.5.0-2ubuntu1~18.04_amd64.deb g++-6_6.5.0-2ubuntu1~18.04_amd64.deb libstdc++-6-dev_6.5.0-2ubuntu1~18.04_amd64.deb
2529 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60
2630 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 60
2731
You can’t perform that action at this time.
0 commit comments