mirror of
https://github.com/tdulcet/Table-and-Graph-Libs.git
synced 2025-05-05 21:41:12 +08:00
Fixed CI.
This commit is contained in:
parent
0540e54213
commit
ec2b79950f
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -27,9 +27,9 @@ jobs:
|
|||||||
$CXX --version
|
$CXX --version
|
||||||
- name: Script
|
- name: Script
|
||||||
run: |
|
run: |
|
||||||
$CXX -Wall -g -Og -fsanitize=address,undefined tables.cpp -o tables
|
$CXX -std=c++17 -Wall -g -Og -fsanitize=address,undefined tables.cpp -o tables
|
||||||
./tables
|
./tables
|
||||||
$CXX -Wall -g -Og -fsanitize=address,undefined graphs.cpp -o graphs
|
$CXX -std=c++17 -Wall -g -Og -fsanitize=address,undefined graphs.cpp -o graphs
|
||||||
./graphs
|
./graphs
|
||||||
- name: Cppcheck
|
- name: Cppcheck
|
||||||
run: cppcheck --enable=all .
|
run: cppcheck --enable=all .
|
||||||
|
@ -13,12 +13,12 @@ install:
|
|||||||
- sudo apt-get -yqq update
|
- sudo apt-get -yqq update
|
||||||
- sudo apt-get -yqq install cppcheck
|
- sudo apt-get -yqq install cppcheck
|
||||||
script:
|
script:
|
||||||
- g++ -Wall -g -Og -fsanitize=address,undefined tables.cpp -o gcc_tables
|
- g++ -std=c++17 -Wall -g -Og -fsanitize=address,undefined tables.cpp -o gcc_tables
|
||||||
- ./gcc_tables
|
- ./gcc_tables
|
||||||
- g++ -Wall -g -Og -fsanitize=address,undefined graphs.cpp -o gcc_graphs
|
- g++ -std=c++17 -Wall -g -Og -fsanitize=address,undefined graphs.cpp -o gcc_graphs
|
||||||
- ./gcc_graphs
|
- ./gcc_graphs
|
||||||
- clang++ -Wall -g -Og -fsanitize=address,undefined,integer tables.cpp -o clang_tables
|
- clang++ -std=c++17 -Wall -g -Og -fsanitize=address,undefined,integer tables.cpp -o clang_tables
|
||||||
- ./clang_tables
|
- ./clang_tables
|
||||||
- clang++ -Wall -g -Og -fsanitize=address,undefined,integer graphs.cpp -o clang_graphs
|
- clang++ -std=c++17 -Wall -g -Og -fsanitize=address,undefined,integer graphs.cpp -o clang_graphs
|
||||||
- ./clang_graphs
|
- ./clang_graphs
|
||||||
- cppcheck --enable=all .
|
- cppcheck --enable=all .
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
#include <functional>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user