mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-06 11:22:27 +00:00
Updating G++ in build
This commit is contained in:
@@ -10,7 +10,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Building:
|
Building:
|
||||||
runs-on: [ubuntu-latest]
|
runs-on: [ubuntu-18.04]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@@ -26,6 +26,8 @@ jobs:
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. && make -j 4 && sudo make install
|
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
|
- name: Build Makefile with CMake
|
||||||
run: mkdir -p build && cd build && cmake ..
|
run: mkdir -p build && cd build && cmake ..
|
||||||
- name: Build with Makefile
|
- name: Build with Makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user