Skip to content

Commit

Permalink
Fix ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
babelouest committed May 27, 2022
1 parent 2bd4cf0 commit aa5419e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ jobs:
sudo apt-get install -y cmake pkg-config check libsubunit-dev cppcheck libsystemd-dev libsqlite3-dev default-libmysqlclient-dev libpq-dev libjansson-dev sqlite3
- name: cppcheck
run: cppcheck --force --enable=warning,missingInclude --error-exitcode=1 .
- name: dependencies
run: |
cd /opt
git clone https://github.com/babelouest/orcania.git
git clone https://github.com/babelouest/yder.git
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ../orcania
make
sudo make install
rm -rf *
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ../yder
make
sudo make install
rm -rf *
- name: build
run: |
mkdir build && cd build
Expand Down
20 changes: 19 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,27 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language

- run: |
- name: dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake pkg-config libsystemd-dev libsqlite3-dev default-libmysqlclient-dev libpq-dev libjansson-dev doxygen
cd /opt
git clone https://github.com/babelouest/orcania.git
git clone https://github.com/babelouest/yder.git
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ../orcania
make
sudo make install
rm -rf *
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ../yder
make
sudo make install
rm -rf *
- run: |
mkdir build
cd build
cmake -DBUILD_HOEL_DOCUMENTATION=on ..
Expand Down

0 comments on commit aa5419e

Please sign in to comment.