Compile with warning as error #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: libQGLViewer | |
on: [push, pull_request] | |
jobs: | |
buildQt5: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get install -y build-essential qtbase5-dev libglu1-mesa-dev | |
- name: Build all | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_CXX_FLAGS="-Wall -Wextra -Wshadow -Wpointer-arith -Werror -Wno-error=deprecated-declarations" .. | |
make all | |
buildQt6: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get install -y build-essential qt6-base-dev libglu1-mesa-dev | |
- name: Build all | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_CXX_FLAGS="-Wall -Wextra -Wshadow -Wpointer-arith -Werror -Wno-error=deprecated-declarations" .. | |
make all |