Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
66c1e3e7
Commit
66c1e3e7
authored
Jan 06, 2021
by
Pavel Vainerman
Committed by
Pavel Vainerman
Jan 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[github-actions]: fixed build depends
parent
163194aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
39 deletions
+15
-39
c-cpp.yml
.github/workflows/c-cpp.yml
+0
-32
codeql-analysis.yml
.github/workflows/codeql-analysis.yml
+2
-2
testsuite.yml
.github/workflows/testsuite.yml
+13
-5
No files found.
.github/workflows/c-cpp.yml
deleted
100644 → 0
View file @
163194aa
name
:
C/C++ CI
on
:
push
:
branches
:
[
master
,
github-actions
]
pull_request
:
branches
:
[
master
]
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
install packages
run
:
|
sudo apt-get install libcomedi-dev libpoco-dev libmysqlclient-dev libomniorb4-dev libev-dev omniidl xsltproc libpqxx3-dev librrd-dev libsigc++-2.0-dev libsqlite3-dev python-dev libmosquittopp-dev
wget https://github.com/catchorg/Catch2/releases/download/v1.11.0/catch.hpp -O include/catch.hpp
-
name
:
configure
run
:
|
export CXXFLAGS='-pipe -O2 -pedantic -Wall'
# due broken comedi
export CXXFLAGS="$CXXFLAGS -Wl,--unresolved-symbols=ignore-in-shared-libs"
autoreconf -fiv
./configure --enable-mysql --enable-sqlite --enable-rrd --enable-io --disable-python --disable-mqtt --disable-pgsql --disable-api --disable-netdata --disable-logdb
-
name
:
make
run
:
make
-
name
:
simple tests
run
:
|
cd tests;
make check
.github/workflows/codeql-analysis.yml
View file @
66c1e3e7
...
@@ -14,10 +14,10 @@ name: "CodeQL"
...
@@ -14,10 +14,10 @@ name: "CodeQL"
on
:
on
:
push
:
push
:
branches
:
[
master
,
github-actions
]
branches
:
[
master
]
pull_request
:
pull_request
:
# The branches below must be a subset of the branches above
# The branches below must be a subset of the branches above
branches
:
[
master
]
branches
:
[
"
*"
]
schedule
:
schedule
:
-
cron
:
'
44
6
*
*
4'
-
cron
:
'
44
6
*
*
4'
...
...
.github/workflows/testsuite.yml
View file @
66c1e3e7
...
@@ -12,20 +12,28 @@ jobs:
...
@@ -12,20 +12,28 @@ jobs:
container
:
container
:
image
:
alt:sisyphus
image
:
alt:sisyphus
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
install packages
-
name
:
install packages
run
:
|
run
:
|
apt-get update && apt-get -y install etersoft-build-utils git-core ccache gcc-c++ etersoft-build-utils catch-devel libcomedi-devel libmariadb-devel libpqxx-devel librrd-devel python-devel python-module-distribute
apt-get update && apt-get -y install etersoft-build-utils su sudo \
git-core ccache gcc-c++ etersoft-build-utils catch-devel \
libcomedi-devel libmariadb-devel libpqxx-devel librrd-devel libsqlite3-devel \
libxml2-devel libsigc++2-devel libpoco-devel libev-devel libomniORB-devel libmosquitto-devel \
xsltproc python-devel python-module-distribute
-
name
:
prepare builder
run
:
|
useradd builder
su - builder
-
uses
:
actions/checkout@v2
-
name
:
configure
-
name
:
configure
run
:
|
run
:
|
export CXXFLAGS='-pipe -O2 -pedantic -Wall'
export CXXFLAGS='-pipe -O2 -pedantic -Wall'
# due broken comedi
# due broken comedi
export CXXFLAGS="$CXXFLAGS -Wl,--unresolved-symbols=ignore-in-shared-libs"
export CXXFLAGS="$CXXFLAGS -Wl,--unresolved-symbols=ignore-in-shared-libs"
autoreconf -fiv
autoreconf -fiv
./configure --disable-
mysql --enable-sqlite --enable-rrd --enable-io --disable-python --disable-mqtt --disable-pgsql --disable-netdata --disable-logdb
./configure --disable-
netdata
-
name
:
make
-
name
:
make
run
:
j
make
run
:
make
-
name
:
simple tests
-
name
:
testsuite
run
:
|
run
:
|
cd testsuite;
cd testsuite;
make check
make check
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment