Updating G++ in build

This commit is contained in:
Melefo
2021-02-11 19:35:25 +01:00
parent 75eaa92eee
commit 2d18c0624e
+3 -1
View File
@@ -10,7 +10,7 @@ on:
jobs:
Building:
runs-on: [ubuntu-latest]
runs-on: [ubuntu-18.04]
steps:
- uses: actions/checkout@v1
@@ -26,6 +26,8 @@ jobs:
mkdir build
cd build
cmake .. && make -j 4 && sudo make install
- name: Update G++
run: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
- name: Build Makefile with CMake
run: mkdir -p build && cd build && cmake ..
- name: Build with Makefile